Skip to content

Commit 5e6fbc7

Browse files
committed
Fix test failure
1 parent 3a75c74 commit 5e6fbc7

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
@@ -467,7 +467,7 @@ def test_fromhex(self):
467467
for value, position in (("a ", 1), (" aa a ", 5),(" aa a a ", 5)):
468468
with self.assertRaises(ValueError) as cm:
469469
self.type2test.fromhex(value)
470-
self.assertIn(f"non-hexadecimal number found in fromhex() arg at {position}", str(cm.exception))
470+
self.assertIn(f"non-hexadecimal number found in fromhex() arg at position {position}", str(cm.exception))
471471

472472
for data, pos in (
473473
# invalid first hexadecimal character

0 commit comments

Comments
 (0)