Message6400

Author yyamano
Recipients yyamano
Date 2011-02-17.03:03:53
SpamBayes Score 5.6419735e-06
Marked as misclassified No
Message-id <1297911834.34.0.397771644669.issue1708@psf.upfronthosting.co.za>
In-reply-to
Content
I got the following error when I run the tests on Mac OS X with Japanese locale.

[exec] test_email
[exec] test test_email failed -- Traceback (most recent call last):
[exec]   File "/Users/yyamano/work/jython/trunk/jython/dist/Lib/email/test/test_email.py", line 2129, in test_formatdate_usegmt
[exec]     self.assertEqual(
[exec] AssertionError: 'Thu, 17 Feb 2011 02:03:38 -0000' != '\u6728, 17 2 2011 02:03:38 -0000'
[exec] 

Attached patch solves the problem. It requires Ant 1.7 or later.

Note: LANG and LC_* environment variables doesn't work with the Java implementation on Mac OS X. JAVA_OPTS="-Duser.language=en -Duser.region=US" works.
History
Date User Action Args
2011-02-17 03:03:54yyamanosetrecipients: + yyamano
2011-02-17 03:03:54yyamanosetmessageid: <1297911834.34.0.397771644669.issue1708@psf.upfronthosting.co.za>
2011-02-17 03:03:54yyamanolinkissue1708 messages
2011-02-17 03:03:53yyamanocreate