We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7f30c9 commit 2c31abaCopy full SHA for 2c31aba
Lib/test/test_strptime.py
@@ -286,7 +286,7 @@ def test_ValueError(self):
286
def test_strptime_exception_context(self):
287
# check that this doesn't chain exceptions needlessly (see #17572)
288
with self.assertRaises(ValueError) as e:
289
- _strptime._strptime_time('', '%D')
+ _strptime._strptime_time('', '%!')
290
self.assertTrue(e.exception.__suppress_context__)
291
# additional check for stray % branch
292
0 commit comments