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 2c31aba commit f965f0cCopy full SHA for f965f0c
Lib/test/test_time.py
@@ -379,7 +379,7 @@ def test_strptime_bytes(self):
379
def test_strptime_exception_context(self):
380
# check that this doesn't chain exceptions needlessly (see #17572)
381
with self.assertRaises(ValueError) as e:
382
- time.strptime('', '%D')
+ time.strptime('', '%!')
383
self.assertTrue(e.exception.__suppress_context__)
384
# additional check for stray % branch
385
0 commit comments