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:06:39 +00:00
parent 8dfb9288af
commit 622eb174d2
1 changed files with 1 additions and 1 deletions

View File

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