diff --git a/Lib/test/test_imaplib.py b/Lib/test/test_imaplib.py index 04601da8aaa..98d6de97626 100644 --- a/Lib/test/test_imaplib.py +++ b/Lib/test/test_imaplib.py @@ -7,6 +7,6 @@ for t in timevalues: t1 = imaplib.Time2Internaldate(t) - t2 = imaplib.Time2Internaldate(imaplib.Internaldate2tuple('INTERNALDATE ' + imaplib.Time2Internaldate(t))) + t2 = imaplib.Time2Internaldate(imaplib.Internaldate2tuple('INTERNALDATE ' + t1)) if t1 <> t2: print 'incorrect result when converting', `t`