blob: c0d60772ffc37fa4be7f75eda5509148b150c914 [file] [log] [blame]
Martin v. Löwisea752fb2002-01-05 11:31:49 +00001from test_support import verify,verbose
2import imaplib
3import 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
9timevalues = [2000000000, 2000000000.0, time.localtime(2000000000),
10 "18-May-2033 05:33:20 +0200"]
11
12for t in timevalues:
13 imaplib.Time2Internaldate(t)
14