summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-12-08 21:48:01 (GMT)
committerGuido van Rossum <guido@python.org>1997-12-08 21:48:01 (GMT)
commit6a99984e79b9779d54f71691cb8b1dca718862a7 (patch)
tree93982f0e81869de94dc7ee61e36ed20017d9cd8e /Lib/test
parentc5aec0596757483665e2bd7f5a544e8cbc9789f8 (diff)
downloadcpython-6a99984e79b9779d54f71691cb8b1dca718862a7.zip
cpython-6a99984e79b9779d54f71691cb8b1dca718862a7.tar.gz
cpython-6a99984e79b9779d54f71691cb8b1dca718862a7.tar.bz2
Use long() instead of int() to compare mktime(localtime(t) with t...
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_time.py2
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)