All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lib-python.2.5.test.test_imaplib.py Maven / Gradle / Ivy

There is a newer version: 2.7.1.1
Show newest version
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)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy