From 70645a47e5b278c15c619554ad341675288497cb Mon Sep 17 00:00:00 2001 From: Alexander Belopolsky Date: Mon, 3 Jan 2011 17:52:03 +0000 Subject: [PATCH] Issue 10814: time.asctime test will now use a valid day with out of range year. --- 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 0028f15cb0..0cec3e4491 100644 --- a/Lib/test/test_time.py +++ b/Lib/test/test_time.py @@ -121,7 +121,7 @@ class TimeTestCase(unittest.TestCase): # (12345, 1, 0, 0, 0, 0, 0, 0, 0)) # XXX: For now, just make sure we don't have a crash: try: - time.asctime((12345, 1, 0, 0, 0, 0, 0, 0, 0)) + time.asctime((12345, 1, 1, 0, 0, 0, 0, 1, 0)) except ValueError: pass -- 2.50.1