[Python-bugs-list] [ python-Bugs-482932 ] test_email makes assumptions about epoch

noreply@sourceforge.net noreply@sourceforge.net
Sun, 18 Nov 2001 08:46:00 -0800


Bugs item #482932, was opened at 2001-11-17 15:41
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=482932&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 8
Submitted By: Jack Jansen (jackjansen)
Assigned to: Barry Warsaw (bwarsaw)
Summary: test_email makes assumptions about epoch

Initial Comment:
test_email makes assumptions about the time.time() epoch being the Unix-standard of
Jan 1, 1970; in method test_formatdate().

This test fails on the Mac, where the epoch is Jan 1, 1904.

As I'm unsure of what the test actually tests I don't know whether the test is wrong
or whether Utils.formatdate() is wrong.

If this can be fixed quickly please let me know and I'll incorporate the fix in MacPython 2.2b2,
otherwise I'll add a note to the readme.


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

>Comment By: Barry Warsaw (bwarsaw)
Date: 2001-11-18 08:46

Message:
Logged In: YES 
user_id=12800

Tell me what strings time.ctime(0) and Utils.formatdate(now)
returns and I'll adjust the test case.


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

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