[Python-bugs-list] [ python-Bugs-540720 ] test_email fails on Mac in summer

noreply@sourceforge.net noreply@sourceforge.net
Sun, 07 Apr 2002 14:55:50 -0700


Bugs item #540720, was opened at 2002-04-07 23:55
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=540720&group_id=5470

Category: Python Library
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Jack Jansen (jackjansen)
Assigned to: Barry Warsaw (bwarsaw)
Summary: test_email fails on Mac in summer

Initial Comment:
Yes, I kid you not:-)

The test of the date/time  parser in test_email tries to cater for the fact that the Mac uses localtime (at least, before OSX), but it fails to cater for DST. So, test_email passes in winter, but fails in summer.

I think the whole idea of comparing based on a numeric value is not so good. Why not try a roundtrip, or compare against another date coder (time.asctime)?

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=540720&group_id=5470