add hg and python
This commit is contained in:
parent
3a742c699f
commit
458120dd40
3709 changed files with 1244309 additions and 1 deletions
12
sys/lib/python/test/test_imaplib.py
Normal file
12
sys/lib/python/test/test_imaplib.py
Normal file
|
@ -0,0 +1,12 @@
|
|||
import imaplib
|
||||
import time
|
||||
|
||||
# We can check only that it successfully produces a result,
|
||||
# not the correctness of the result itself, since the result
|
||||
# depends on the timezone the machine is in.
|
||||
|
||||
timevalues = [2000000000, 2000000000.0, time.localtime(2000000000),
|
||||
'"18-May-2033 05:33:20 +0200"']
|
||||
|
||||
for t in timevalues:
|
||||
imaplib.Time2Internaldate(t)
|
Loading…
Add table
Add a link
Reference in a new issue