mirror of https://github.com/python/cpython
Issue 10814: time.asctime test will now use a valid day with out of range year.
This commit is contained in:
parent
c886a8484d
commit
70645a47e5
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue