summaryrefslogtreecommitdiffstats
path: root/Lib/email/errors.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-06-09 03:11:23 (GMT)
committerAlexander Belopolsky <abalkin@users.noreply.github.com>2018-06-09 03:11:23 (GMT)
commit8016c2bd695a750860f2c5d0e406ab28572ac4f1 (patch)
tree70925e14e151f91159c7fdd42e2b1a889c04bcd1 /Lib/email/errors.py
parent21f4c780a1de99bdb37abf57445f0c942449b45b (diff)
downloadcpython-8016c2bd695a750860f2c5d0e406ab28572ac4f1.zip
cpython-8016c2bd695a750860f2c5d0e406ab28572ac4f1.tar.gz
cpython-8016c2bd695a750860f2c5d0e406ab28572ac4f1.tar.bz2
Datetime test coverage (GH-7544) (GH-7551)
* 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>
Diffstat (limited to 'Lib/email/errors.py')
0 files changed, 0 insertions, 0 deletions