4
from test import test_support
8
class TestImaplib(unittest.TestCase):
9
def test_that_Time2Internaldate_returns_a_result(self):
10
# We can check only that it successfully produces a result,
11
# not the correctness of the result itself, since the result
12
# depends on the timezone the machine is in.
13
timevalues = [2000000000, 2000000000.0, time.localtime(2000000000),
14
'"18-May-2033 05:33:20 +0200"']
17
imaplib.Time2Internaldate(t)
21
test_support.run_unittest(TestImaplib)
24
if __name__ == "__main__":