Commit 29bd75e1 authored by Alexander Belopolsky's avatar Alexander Belopolsky

Issue 10814: time.asctime test will now use a valid day with out of range year.

parent 34e202e6
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment