[Python-bugs-list] [ python-Bugs-586905 ] test_imaplib broken on Mac

noreply@sourceforge.net noreply@sourceforge.net
Fri, 26 Jul 2002 02:37:39 -0700


Bugs item #586905, was opened at 2002-07-26 11:37
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=586905&group_id=5470

Category: Macintosh
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jack Jansen (jackjansen)
Assigned to: Piers Lauder (pierslauder)
Summary: test_imaplib broken on Mac

Initial Comment:
Test_imaplib recently broke on the Macintosh (or, to be more specific, for MacPython).

The reason seems to be that the test has been modified to check that all 5 test dates (3 in 1967, 2 in 2033) return the same value after a round trip. For MacPython this is true for the 3 1967 values but not for the 2033 values: these are both the same value, but in 2033, which is also what i would expect, really.

Is the 1967/2033 match testing for something that is really part of the imap spec? Or could it be that it is testing a artefact of the Unix implementation of time values (which apparently doesn't occur when using the Metrowerks runtime on MacOS, which has a wholly different representation of time), and that we really shouldn't be testing this? Or testing it and only matching it against itself (i.e. the 2033 time value)?

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

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