Martin v. Löwis | ea752fb | 2002-01-05 11:31:49 +0000 | [diff] [blame^] | 1 | from test_support import verify,verbose |
2 | import imaplib | ||||
3 | import time | ||||
4 | |||||
5 | # We can check only that it successfully produces a result, | ||||
6 | # not the correctness of the result itself, since the result | ||||
7 | # depends on the timezone the machine is in. | ||||
8 | |||||
9 | timevalues = [2000000000, 2000000000.0, time.localtime(2000000000), | ||||
10 | "18-May-2033 05:33:20 +0200"] | ||||
11 | |||||
12 | for t in timevalues: | ||||
13 | imaplib.Time2Internaldate(t) | ||||
14 |