[Python-Dev] test_imaplib failing elsewhere?
Tim Peters
tim.one@comcast.net
Mon, 29 Jul 2002 18:49:01 -0400
On Windows:
> python ../lib/test/test_imaplib.py
incorrect result when converting (2033, 5, 18, 3, 33, 20, 2, 138, 0)
incorrect result when converting '"18-May-2033 13:33:20 +1000"'
>
IOW, it tries two things, and fails on both.
Beefing up its
if t1 <> t2:
print 'incorrect result when converting', `t`
by adding
print ' t1 was', `t1`
print ' t2 was', `t2`
yields
incorrect result when converting (2033, 5, 18, 3, 33, 20, 2, 138, 0)
t1 was '"18-May-2033 03:33:20 -0500"'
t2 was '"18-May-2033 04:33:20 -0400"'
incorrect result when converting '"18-May-2033 13:33:20 +1000"'
t1 was '"18-May-2033 13:33:20 +1000"'
t2 was '"17-May-2033 23:33:20 -0400"'
I'm not sure when it started failing, but within the last week ... OK, rev
1.3 of test_imaplib.py worked here, and rev 1.4 broke it, checked in 2-3
days ago.