diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2011-11-01 14:12:34 (GMT) |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2011-11-01 14:12:34 (GMT) |
commit | 752c1d4c025b95c59bf551ba0f609170b5ba8bb2 (patch) | |
tree | 2afd8eccda1a3feb0119f6d010cba30069a65fb9 /Lib/test | |
parent | bceb528af5a4d0dda92ae48b0f34e6d55e29fa8d (diff) | |
download | cpython-752c1d4c025b95c59bf551ba0f609170b5ba8bb2.zip cpython-752c1d4c025b95c59bf551ba0f609170b5ba8bb2.tar.gz cpython-752c1d4c025b95c59bf551ba0f609170b5ba8bb2.tar.bz2 |
Add temporary tests to troubleshoot issue #13309 on Gentoo buildbot.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_time.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py index ce5b495..92c92e4 100644 --- a/Lib/test/test_time.py +++ b/Lib/test/test_time.py @@ -161,6 +161,10 @@ class TimeTestCase(unittest.TestCase): self.fail("conversion specifier %r failed with '%s' input." % (format, strf_output)) + # XXX Temporary tests to troubleshoot issue #13309 on buildbots + test_aaa_strptime = test_strptime + test_bbb_strptime = test_strptime + def test_strptime_bytes(self): # Make sure only strings are accepted as arguments to strptime. self.assertRaises(TypeError, time.strptime, b'2009', "%Y") |