source: trunk/essentials/dev-lang/python/Lib/test/test_imaplib.py@ 3951

Last change on this file since 3951 was 3225, checked in by bird, 19 years ago

Python 2.5

File size: 364 bytes
Line 
1import imaplib
2import time
3
4# We can check only that it successfully produces a result,
5# not the correctness of the result itself, since the result
6# depends on the timezone the machine is in.
7
8timevalues = [2000000000, 2000000000.0, time.localtime(2000000000),
9 '"18-May-2033 05:33:20 +0200"']
10
11for t in timevalues:
12 imaplib.Time2Internaldate(t)
Note: See TracBrowser for help on using the repository browser.