diff options
| author | Guido van Rossum <guido@python.org> | 1997-12-08 21:48:01 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1997-12-08 21:48:01 +0000 |
| commit | 6a99984e79b9779d54f71691cb8b1dca718862a7 (patch) | |
| tree | 93982f0e81869de94dc7ee61e36ed20017d9cd8e /Lib/test | |
| parent | c5aec0596757483665e2bd7f5a544e8cbc9789f8 (diff) | |
| download | cpython-git-6a99984e79b9779d54f71691cb8b1dca718862a7.tar.gz | |
Use long() instead of int() to compare mktime(localtime(t) with t...
Diffstat (limited to 'Lib/test')
| -rw-r--r-- | Lib/test/test_time.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py index acc4d4106b..cfa18a393e 100644 --- a/Lib/test/test_time.py +++ b/Lib/test/test_time.py @@ -8,7 +8,7 @@ if time.ctime(t) <> time.asctime(time.localtime(t)): print 'time.ctime(t) <> time.asctime(time.localtime(t))' time.daylight -if int(time.mktime(time.localtime(t))) <> int(t): +if long(time.mktime(time.localtime(t))) <> long(t): print 'time.mktime(time.localtime(t)) <> t' time.sleep(1.2) |
