summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorPiers Lauder <piers@cs.su.oz.au>2002-07-27 07:08:38 (GMT)
committerPiers Lauder <piers@cs.su.oz.au>2002-07-27 07:08:38 (GMT)
commit8b6bb4f743ede7482a2b38ea664996cfc5bee3af (patch)
tree5e35f04d97252cdee485f3769e631e91894bcd68 /Lib
parent385a77acad94f66fac8bf0375f1d1264e118598e (diff)
downloadcpython-8b6bb4f743ede7482a2b38ea664996cfc5bee3af.zip
cpython-8b6bb4f743ede7482a2b38ea664996cfc5bee3af.tar.gz
cpython-8b6bb4f743ede7482a2b38ea664996cfc5bee3af.tar.bz2
remove redundant code
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_imaplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_imaplib.py b/Lib/test/test_imaplib.py
index 04601da..98d6de9 100644
--- a/Lib/test/test_imaplib.py
+++ b/Lib/test/test_imaplib.py
@@ -7,6 +7,6 @@ timevalues = [(2033, 5, 18, 3, 33, 20, 2, 138, 0), '"18-May-2033 13:33:20 +1000"
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`