Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c867f74

Browse files
committed
Change expected message for ValueError, fixing bug #126400
1 parent e7e190e commit c867f74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,5 +197,5 @@ def test_exc(formatstr, args, exception, excmsg):
197197
test_exc('abc %a', 1, ValueError,
198198
"unsupported format character 'a' (0x61) at index 5")
199199
test_exc(u'abc %\u3000', 1, ValueError,
200-
"unsupported format character '\000' (0x3000) at index 5")
200+
"unsupported format character '?' (0x3000) at index 5")
201201

0 commit comments

Comments
 (0)