diff options
author | Guido van Rossum <guido@python.org> | 1997-12-08 21:48:01 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-12-08 21:48:01 (GMT) |
commit | 6a99984e79b9779d54f71691cb8b1dca718862a7 (patch) | |
tree | 93982f0e81869de94dc7ee61e36ed20017d9cd8e | |
parent | c5aec0596757483665e2bd7f5a544e8cbc9789f8 (diff) | |
download | cpython-6a99984e79b9779d54f71691cb8b1dca718862a7.zip cpython-6a99984e79b9779d54f71691cb8b1dca718862a7.tar.gz cpython-6a99984e79b9779d54f71691cb8b1dca718862a7.tar.bz2 |
Use long() instead of int() to compare mktime(localtime(t) with t...
-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 acc4d41..cfa18a3 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) |