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

This commit is contained in:
Alexander Belopolsky 2011-01-03 17:52:03 +00:00
parent c886a8484d
commit 70645a47e5
1 changed files with 1 additions and 1 deletions

View File

@ -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