Skip to content

Commit 7c819c1

Browse files
committed
Update test case
1 parent 7bab683 commit 7c819c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_bytes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ def test_fromhex(self):
460460
self.assertRaises(ValueError, self.type2test.fromhex, '12 \x00 34')
461461

462462
# For odd number of character(s)
463-
for value in ("a", "a ", " a"," a ", "aaa", "aaa ", " aaa", " aaa "):
463+
for value in ("a", "a ", " a"," a ", "aaa", "aaa ", " aaa", " aaa ", " aa a "):
464464
with self.assertRaises(ValueError) as cm:
465465
self.type2test.fromhex(value)
466466
self.assertIn("fromhex() arg must be of even length", str(cm.exception))

0 commit comments

Comments
 (0)