mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Add temporary tests to troubleshoot issue #13309 on Gentoo buildbot.
This commit is contained in:
parent
bceb528af5
commit
752c1d4c02
1 changed files with 4 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue