[Python-checkins] r87692 - python/branches/release27-maint/Lib/test/test_time.py
alexander.belopolsky
python-checkins at python.org
Mon Jan 3 18:52:04 CET 2011
Author: alexander.belopolsky
Date: Mon Jan 3 18:52:03 2011
New Revision: 87692
Log:
Issue 10814: time.asctime test will now use a valid day with out of range year.
Modified:
python/branches/release27-maint/Lib/test/test_time.py
Modified: python/branches/release27-maint/Lib/test/test_time.py
==============================================================================
--- python/branches/release27-maint/Lib/test/test_time.py (original)
+++ python/branches/release27-maint/Lib/test/test_time.py Mon Jan 3 18:52:03 2011
@@ -121,7 +121,7 @@
# (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
More information about the Python-checkins
mailing list