Kaydet (Commit) 70645a47 authored tarafından Alexander Belopolsky's avatar Alexander Belopolsky

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

üst c886a848
......@@ -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
......
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