Change expected message for ValueError, fixing bug #126400

This commit is contained in:
Andrew M. Kuchling 2000-12-20 00:55:46 +00:00
parent e7e190ef97
commit c867f74a10
1 changed files with 1 additions and 1 deletions

View File

@ -197,5 +197,5 @@ def test_exc(formatstr, args, exception, excmsg):
test_exc('abc %a', 1, ValueError, test_exc('abc %a', 1, ValueError,
"unsupported format character 'a' (0x61) at index 5") "unsupported format character 'a' (0x61) at index 5")
test_exc(u'abc %\u3000', 1, ValueError, test_exc(u'abc %\u3000', 1, ValueError,
"unsupported format character '\000' (0x3000) at index 5") "unsupported format character '?' (0x3000) at index 5")