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 2f6d8e2 commit ccabadfCopy full SHA for ccabadf
Lib/test/datetimetester.py
@@ -2921,8 +2921,8 @@ def test_strptime(self):
2921
with self.assertRaises(ValueError): strptime('1٢:02:٢7', '%H:%M:%S')
2922
with self.assertRaises(ValueError): strptime('٢5', '%y')
2923
with self.assertRaises(ValueError): strptime('٢555', '%G')
2924
- with self.assertRaises(ValueError): strptime('٢/03 0٢a٢', '%j/%y %I%p:%M:%S')
2925
- with self.assertRaises(ValueError): strptime('06/4/2003', '%U/%V')
+ with self.assertRaises(ValueError): strptime('٢/0٢ 0٢a٢', '%j/%y %I%p:%M:%S')
+ with self.assertRaises(ValueError): strptime('0٢/٢/200٢', '%U/%V')
2926
2927
def test_strptime_single_digit(self):
2928
# bpo-34903: Check that single digit dates and times are allowed.
0 commit comments