Author: Matti Picus <[email protected]>
Branch: py3.6
Changeset: r96065:393374a59e39
Date: 2019-02-18 15:05 +0200
http://bitbucket.org/pypy/pypy/changeset/393374a59e39/
Log: fix test
diff --git a/pypy/objspace/std/test/test_intobject.py
b/pypy/objspace/std/test/test_intobject.py
--- a/pypy/objspace/std/test/test_intobject.py
+++ b/pypy/objspace/std/test/test_intobject.py
@@ -588,7 +588,7 @@
def test_int_error_msg_surrogate(self):
value = u'123\ud800'
e = raises(ValueError, int, value)
- assert str(e.value) == "invalid literal for int() with base 10: %r" %
value
+ assert str(e.value) == u"invalid literal for int() with base 10: %r" %
value
def test_non_numeric_input_types(self):
# Test possible non-numeric types for the argument x, including
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit