Author: Ronan Lamy <ronan.l...@gmail.com>
Branch: py3.6
Changeset: r94925:42970c94abc5
Date: 2018-07-29 10:50 +0100
http://bitbucket.org/pypy/pypy/changeset/42970c94abc5/

Log:    Follow-up on 56432e2: fix .format() test as well

diff --git a/pypy/objspace/std/test/test_newformat.py 
b/pypy/objspace/std/test/test_newformat.py
--- a/pypy/objspace/std/test/test_newformat.py
+++ b/pypy/objspace/std/test/test_newformat.py
@@ -486,4 +486,5 @@
             pass
 
         excinfo = raises(ValueError, "{:j}".format, x(1))
-        assert str(excinfo.value) == "unknown format code j for object of type 
'x'"
+        print(excinfo.value)
+        assert str(excinfo.value) == "Unknown format code j for object of type 
'x'"
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to