From: Piers Lauder <piers@cs.su.oz.au>
Date: Sat, 27 Jul 2002 07:08:38 +0000 (+0000)
Subject: remove redundant code
X-Git-Tag: v2.3c1~4859
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8b6bb4f743ede7482a2b38ea664996cfc5bee3af;p=python

remove redundant code
---

diff --git a/Lib/test/test_imaplib.py b/Lib/test/test_imaplib.py
index 04601da8aa..98d6de9762 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`