Skip to content

Commit ccabadf

Browse files
Clean up
1 parent 2f6d8e2 commit ccabadf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/datetimetester.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2921,8 +2921,8 @@ def test_strptime(self):
29212921
with self.assertRaises(ValueError): strptime('1٢:02:٢7', '%H:%M:%S')
29222922
with self.assertRaises(ValueError): strptime('٢5', '%y')
29232923
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')
2924+
with self.assertRaises(ValueError): strptime('٢/ 0٢a٢', '%j/%y %I%p:%M:%S')
2925+
with self.assertRaises(ValueError): strptime('0٢/٢/200٢', '%U/%V')
29262926

29272927
def test_strptime_single_digit(self):
29282928
# bpo-34903: Check that single digit dates and times are allowed.

0 commit comments

Comments
 (0)