Staging
v0.5.1
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
c-api
data
distributing
distutils
extending
faq
howto
includes
install
installing
library
reference
tools
tutorial
using
whatsnew
Makefile -rw-r--r-- 7.3 KB
README.rst -rw-r--r-- 4.3 KB
about.rst -rw-r--r-- 1.5 KB
bugs.rst -rw-r--r-- 4.2 KB
conf.py -rw-r--r-- 6.1 KB
contents.rst -rw-r--r-- 538 bytes
copyright.rst -rw-r--r-- 451 bytes
docutils.conf -rw-r--r-- 56 bytes
glossary.rst -rw-r--r-- 51.3 KB
license.rst -rw-r--r-- 43.4 KB
make.bat -rw-r--r-- 5.1 KB

README.rst

back to top