summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2011-01-03 17:06:39 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2011-01-03 17:06:39 (GMT)
commit622eb174d2c211a972e26fcccf9e240f6f9e6af2 (patch)
tree16b81cbfb74eeef2f2b3e026b6ee7991f778243f /Lib/test
parent8dfb9288af2ce4118861969bd2a6666cb736f5d5 (diff)
downloadcpython-622eb174d2c211a972e26fcccf9e240f6f9e6af2.zip
cpython-622eb174d2c211a972e26fcccf9e240f6f9e6af2.tar.gz
cpython-622eb174d2c211a972e26fcccf9e240f6f9e6af2.tar.bz2
Issue 10814: time.asctime test will now use a valid day with out of range year.
Diffstat (limited to 'Lib/test')
-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 0b029d6..8c1d8f8 100644
--- a/Lib/test/test_time.py
+++ b/Lib/test/test_time.py
@@ -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