Message74343
test_formatdate_usegmt (in test_email.py) fails if the environment
variable LANG is set to a non-english locale.
Python 3.0rc1 on MacOSX 10.5.5
$ LANG=en_US.UTF-8 ./python.exe -E -bb ./Lib/test/regrtest.py -l
test_email
test_email
1 test OK.
$ LANG=de_DE.UTF-8 ./python.exe -E -bb ./Lib/test/regrtest.py -l
test_email
test_email
test test_email failed -- Traceback (most recent call last):
File "/Users/martina/Downloads/Python-
3.0rc1/Lib/email/test/test_email.py", line 2139, in
test_formatdate_usegmt
time.strftime('%a, %d %b %Y %H:%M:%S -0000', time.gmtime(now)))
AssertionError: 'Sun, 05 Oct 2008 12:44:04 -0000' != 'So, 05 Okt 2008
12:44:04 -0000'
1 test failed:
test_email |
|
Date |
User |
Action |
Args |
2008-10-05 12:47:17 | oefe | set | recipients:
+ oefe |
2008-10-05 12:47:17 | oefe | set | messageid: <1223210837.43.0.59197631848.issue4046@psf.upfronthosting.co.za> |
2008-10-05 12:47:16 | oefe | link | issue4046 messages |
2008-10-05 12:47:16 | oefe | create | |
|