diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2011-11-01 15:07:23 (GMT) |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2011-11-01 15:07:23 (GMT) |
commit | 712b14fc2a41ff7a1b7a00cab0f237ef3d07939a (patch) | |
tree | 799964a2ab83548fa19f20f98fb0e8d78d513f3d /Lib | |
parent | 752c1d4c025b95c59bf551ba0f609170b5ba8bb2 (diff) | |
download | cpython-712b14fc2a41ff7a1b7a00cab0f237ef3d07939a.zip cpython-712b14fc2a41ff7a1b7a00cab0f237ef3d07939a.tar.gz cpython-712b14fc2a41ff7a1b7a00cab0f237ef3d07939a.tar.bz2 |
Troubleshoot issue #13309 on Gentoo buildbot.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_time.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py index 92c92e4..106d8aa 100644 --- a/Lib/test/test_time.py +++ b/Lib/test/test_time.py @@ -162,8 +162,8 @@ class TimeTestCase(unittest.TestCase): (format, strf_output)) # XXX Temporary tests to troubleshoot issue #13309 on buildbots - test_aaa_strptime = test_strptime - test_bbb_strptime = test_strptime + test_maa_strptime = test_strptime + test_mzz_strptime = test_strptime def test_strptime_bytes(self): # Make sure only strings are accepted as arguments to strptime. @@ -310,6 +310,8 @@ class TimeTestCase(unittest.TestCase): pass else: self.assertEqual(time.mktime(tt), t) + self.assertNotEqual(time.strftime('%Z', time.gmtime(self.t)), 'LMT', + "strftime bug after processing t = %s" % t) # It may not be possible to reliably make mktime return error # on all platfom. This will make sure that no other exception # than OverflowError is raised for an extreme value. |