From 622eb174d2c211a972e26fcccf9e240f6f9e6af2 Mon Sep 17 00:00:00 2001 From: Alexander Belopolsky Date: Mon, 3 Jan 2011 17:06:39 +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 0b029d6af0..8c1d8f8f81 100644 --- a/Lib/test/test_time.py +++ b/Lib/test/test_time.py @@ -131,7 +131,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.40.0