diff options
| author | Alexander Belopolsky <abalkin@users.noreply.github.com> | 2018-06-08 22:58:38 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-08 22:58:38 (GMT) |
| commit | 4c3e39f61c6a759aa1370497ea3597f3564f9da0 (patch) | |
| tree | 1be951cb240307841062bcaba9c065092b7e516a /Objects/exceptions.c | |
| parent | 12f482e0ae33021c04264294f33fa6baa9617cec (diff) | |
| download | cpython-4c3e39f61c6a759aa1370497ea3597f3564f9da0.zip cpython-4c3e39f61c6a759aa1370497ea3597f3564f9da0.tar.gz cpython-4c3e39f61c6a759aa1370497ea3597f3564f9da0.tar.bz2 | |
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.
Diffstat (limited to 'Objects/exceptions.c')
0 files changed, 0 insertions, 0 deletions
