]> granicus.if.org Git - python/commit
test_formatdate(): Integrating Jack's 22b2 branch fix for Mac epoch:
authorBarry Warsaw <barry@python.org>
Tue, 27 Nov 2001 07:12:35 +0000 (07:12 +0000)
committerBarry Warsaw <barry@python.org>
Tue, 27 Nov 2001 07:12:35 +0000 (07:12 +0000)
commite274864004995f7b8b80abe1cea61b5ec8111ad7
tree22dc5f4dec1723cb8233b07dd6792942072e1cc2
parentbeafc795df914df127a3c5c7dcbb98435ebc8ff2
test_formatdate(): Integrating Jack's 22b2 branch fix for Mac epoch:

    More changes to the formatdate epoch test: the Mac epoch is in
    localtime, so east of GMT it falls in 1903:-( Changed the test to
    obtain the epoch in both local time and GMT, and do the right
    thing in the comparisons. As a sanity measure also check that
    day/month is Jan 1.
Lib/test/test_email.py