Staging
v0.5.0
https://github.com/python/cpython
Revision 8016c2bd695a750860f2c5d0e406ab28572ac4f1 authored by Miss Islington (bot) on 09 June 2018, 03:11:23 UTC, committed by Alexander Belopolsky on 09 June 2018, 03:11:23 UTC
* Added a test case for strftime("%z").

The added test checks a case with UTC offest expressed in an integer
number of seconds.

* Added a test comparing naive and aware datetimes.

Check that a greater than  comparison of a naive  datetime instance with
an aware one raises a TypeError.

* Test datetime in fold or in gap comparison both ways.
(cherry picked from commit 4c3e39f61c6a759aa1370497ea3597f3564f9da0)

Co-authored-by: Alexander Belopolsky <abalkin@users.noreply.github.com>
1 parent 21f4c78
History
Tip revision: 8016c2bd695a750860f2c5d0e406ab28572ac4f1 authored by Miss Islington (bot) on 09 June 2018, 03:11:23 UTC
Datetime test coverage (GH-7544) (GH-7551)
Tip revision: 8016c2b
File Mode Size
.github
.vsts
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 772 bytes
.gitignore -rw-r--r-- 1.5 KB
.travis.yml -rw-r--r-- 5.7 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 61.1 KB
README.rst -rw-r--r-- 9.5 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 485.1 KB
configure.ac -rw-r--r-- 161.9 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 42.2 KB
setup.py -rw-r--r-- 99.5 KB

README.rst

back to top