commit | 70645a47e5b278c15c619554ad341675288497cb | [log] [tgz] |
---|---|---|
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | Mon Jan 03 17:52:03 2011 +0000 |
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | Mon Jan 03 17:52:03 2011 +0000 |
tree | 3cdb906338f41f433ec82b6a4cf1d63f60fa5c67 | |
parent | c886a8484d97f6084f13175b5ebf8806a9b366f1 [diff] [blame] |
Issue 10814: time.asctime test will now use a valid day with out of range year.
diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py index 0028f15..0cec3e4 100644 --- a/Lib/test/test_time.py +++ b/Lib/test/test_time.py
@@ -121,7 +121,7 @@ # (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