mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Issue 10814: time.asctime test will now use a valid day with out of range year.
This commit is contained in:
parent
8dfb9288af
commit
622eb174d2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue