Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r87793:6754a8b02ced
Date: 2016-10-14 16:30 +0200
http://bitbucket.org/pypy/pypy/changeset/6754a8b02ced/
Log: fix test
diff --git a/pypy/objspace/std/test/test_longobject.py
b/pypy/objspace/std/test/test_longobject.py
--- a/pypy/objspace/std/test/test_longobject.py
+++ b/pypy/objspace/std/test/test_longobject.py
@@ -425,7 +425,8 @@
def test_long_error_msg(self):
e = raises(TypeError, int, [])
assert str(e.value) == (
- "int() argument must be a string or a number, not 'list'")
+ "int() argument must be a string, a bytes-like object "
+ "or a number, not 'list'")
def test_linear_long_base_16(self):
# never finishes if int(_, 16) is not linear-time
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit