SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

Datetime test coverage (#7544)

* 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.
A
Alexander Belopolsky committed
4c3e39f61c6a759aa1370497ea3597f3564f9da0
Parent: 12f482e
Committed by GitHub <noreply@github.com> on 6/8/2018, 10:58:38 PM