From: Florent Xicluna Date: Tue, 1 Nov 2011 14:12:34 +0000 (+0100) Subject: Add temporary tests to troubleshoot issue #13309 on Gentoo buildbot. X-Git-Tag: v3.3.0a1~990 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=752c1d4c025b95c59bf551ba0f609170b5ba8bb2;p=python Add temporary tests to troubleshoot issue #13309 on Gentoo buildbot. --- diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py index ce5b495348..92c92e43fd 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")