[Python-checkins] r87690 - python/branches/release31-maint/Lib/test/test_time.py

alexander.belopolsky python-checkins at python.org
Mon Jan 3 18:06:39 CET 2011


Author: alexander.belopolsky
Date: Mon Jan 3 18:06:39 2011
New Revision: 87690
Log:
Issue 10814: time.asctime test will now use a valid day with out of range year.
Modified:
 python/branches/release31-maint/Lib/test/test_time.py
Modified: python/branches/release31-maint/Lib/test/test_time.py
==============================================================================
--- python/branches/release31-maint/Lib/test/test_time.py	(original)
+++ python/branches/release31-maint/Lib/test/test_time.py	Mon Jan 3 18:06:39 2011
@@ -131,7 +131,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

AltStyle によって変換されたページ (->オリジナル) /