summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_format.py
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2000-12-20 00:55:46 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2000-12-20 00:55:46 (GMT)
commitc867f74a102a8df376ff55ca4dd9dc9055d16141 (patch)
tree6de1ffdd1ae8d9a48c0c4078308383ba09022e8e /Lib/test/test_format.py
parente7e190ef97d43c9d04e151e1ca916bbd173db972 (diff)
downloadcpython-c867f74a102a8df376ff55ca4dd9dc9055d16141.zip
cpython-c867f74a102a8df376ff55ca4dd9dc9055d16141.tar.gz
cpython-c867f74a102a8df376ff55ca4dd9dc9055d16141.tar.bz2
Change expected message for ValueError, fixing bug #126400
Diffstat (limited to 'Lib/test/test_format.py')
-rw-r--r--Lib/test/test_format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_format.py b/Lib/test/test_format.py
index 4778a8b..f11eb54 100644
--- a/Lib/test/test_format.py
+++ b/Lib/test/test_format.py
@@ -197,5 +197,5 @@ def test_exc(formatstr, args, exception, excmsg):
test_exc('abc %a', 1, ValueError,
"unsupported format character 'a' (0x61) at index 5")
test_exc(u'abc %\u3000', 1, ValueError,
- "unsupported format character '\000' (0x3000) at index 5")
+ "unsupported format character '?' (0x3000) at index 5")