diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2011-01-03 17:52:03 (GMT) |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2011-01-03 17:52:03 (GMT) |
commit | 70645a47e5b278c15c619554ad341675288497cb (patch) | |
tree | 3cdb906338f41f433ec82b6a4cf1d63f60fa5c67 /Lib | |
parent | c886a8484d97f6084f13175b5ebf8806a9b366f1 (diff) | |
download | cpython-70645a47e5b278c15c619554ad341675288497cb.zip cpython-70645a47e5b278c15c619554ad341675288497cb.tar.gz cpython-70645a47e5b278c15c619554ad341675288497cb.tar.bz2 |
Issue 10814: time.asctime test will now use a valid day with out of range year.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_time.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py index 0028f15..0cec3e4 100644 --- a/Lib/test/test_time.py +++ b/Lib/test/test_time.py @@ -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 |