summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2011-01-03 17:52:03 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2011-01-03 17:52:03 (GMT)
commit70645a47e5b278c15c619554ad341675288497cb (patch)
tree3cdb906338f41f433ec82b6a4cf1d63f60fa5c67 /Lib
parentc886a8484d97f6084f13175b5ebf8806a9b366f1 (diff)
downloadcpython-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.py2
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