From 6a99984e79b9779d54f71691cb8b1dca718862a7 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 8 Dec 1997 21:48:01 +0000 Subject: [PATCH] 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 acc4d4106b8..cfa18a393e2 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)