Skip to content

Commit 2f6d8e2

Browse files
Cover all
1 parent d0e6a1f commit 2f6d8e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/datetimetester.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2922,6 +2922,7 @@ def test_strptime(self):
29222922
with self.assertRaises(ValueError): strptime('٢5', '%y')
29232923
with self.assertRaises(ValueError): strptime('٢555', '%G')
29242924
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')
29252926

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

0 commit comments

Comments
 (0)