summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_email/test_utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #19590: Use specific asserts in email tests.Serhiy Storchaka2013-11-161-2/+2
|
* #17877: skip test if the Olson's TZ database is missing.Ezio Melotti2013-05-081-0/+4
|
* Close #15165: Fix test_email on Windows 64 bitsVictor Stinner2012-11-051-4/+4
| | | | Use year 1990 instead of year 1970 to avoid issues with negative timestamps.
* Added test for a bug fixed in issue #665194.Alexander Belopolsky2012-08-231-0/+12
|
* #665194: Update email.utils.localtime to use astimezone, and fix bug.R David Murray2012-08-231-2/+8
| | | | | | | The new code correctly handles historic changes in UTC offsets. A test for this should follow. Original patch by Alexander Belopolsky.
* #665194: Add a localtime function to email.utils.R David Murray2012-05-261-0/+73
| | | | | | | | Without this function people would be tempted to use the other date functions in email.utils to compute an aware localtime, and those functions are not as good for that purpose as this code. The code is Alexander Belopolsy's from his proposed patch for issue 9527, with a fix (and additional tests) by Brian K. Jones.
* #665194: support roundtripping RFC2822 date stamps in the email.utils moduleR David Murray2011-07-201-0/+45