PyXR

c:\python24\lib \ test \ test_imaplib.py



0001 import imaplib
0002 import time
0003 
0004 # We can check only that it successfully produces a result,
0005 # not the correctness of the result itself, since the result
0006 # depends on the timezone the machine is in.
0007 
0008 timevalues = [2000000000, 2000000000.0, time.localtime(2000000000),
0009               '"18-May-2033 05:33:20 +0200"']
0010 
0011 for t in timevalues:
0012     imaplib.Time2Internaldate(t)
0013 

Generated by PyXR 0.9.4
SourceForge.net Logo