summaryrefslogtreecommitdiffstats
path: root/Lib/json/tests/test_fail.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-05-02 12:36:44 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-05-02 12:36:44 (GMT)
commitc6b607d4a9e4d60fb506034ce67fc89734bb68a7 (patch)
treeb4f27e81ab25a9dfe6a97433f4d25c263b59f6cc /Lib/json/tests/test_fail.py
parent7255f18556ae70fc28b563a345577d3ec8f6f0ba (diff)
downloadcpython-c6b607d4a9e4d60fb506034ce67fc89734bb68a7.zip
cpython-c6b607d4a9e4d60fb506034ce67fc89734bb68a7.tar.gz
cpython-c6b607d4a9e4d60fb506034ce67fc89734bb68a7.tar.bz2
port simplejson upgrade from the trunk #4136
json also now works only with unicode strings Patch by Antoine Pitrou; updated by me
Diffstat (limited to 'Lib/json/tests/test_fail.py')
-rw-r--r--Lib/json/tests/test_fail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/json/tests/test_fail.py b/Lib/json/tests/test_fail.py
index 252ebc4..94e01e6 100644
--- a/Lib/json/tests/test_fail.py
+++ b/Lib/json/tests/test_fail.py
@@ -73,4 +73,4 @@ class TestFail(TestCase):
except ValueError:
pass
else:
- self.fail("Expected failure for fail%d.json: %r" % (idx, doc))
+ self.fail("Expected failure for fail{0}.json: {1!r}".format(idx, doc))