Skip to content

Commit 3588d18

Browse files
committed
Update tests
1 parent bf3ace9 commit 3588d18

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 ", "a a a", "aa a ", " aa a", " aaa "):
463+
for value in ("a", "a ", " a"," a ", "aaa", "aaa ", " aaa", " aaa "):
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)