[pypy-commit] pypy py3.6: Follow-up on 56432e2: fix .format() test as well
rlamy
pypy.commits at gmail.com
Sun Jul 29 05:51:33 EDT 2018
Author: Ronan Lamy <ronan.lamy at 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'"
More information about the pypy-commit
mailing list