From 6a99984e79b9779d54f71691cb8b1dca718862a7 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 8 Dec 1997 21:48:01 +0000 Subject: Use long() instead of int() to compare mktime(localtime(t) with t... --- Lib/test/test_time.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12