[pypy-commit] pypy py3.5: fix test

arigo pypy.commits at gmail.com
Fri Oct 14 10:31:17 EDT 2016


Author: Armin Rigo <arigo at tunes.org>
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


More information about the pypy-commit mailing list