Author: Romain Guillebert <romain...@gmail.com> Branch: py3k Changeset: r85818:e7eb47c7e7d7 Date: 2016-07-23 11:41 +0200 http://bitbucket.org/pypy/pypy/changeset/e7eb47c7e7d7/
Log: Fix test_identity_vs_id_primitives for Python 3 diff --git a/pypy/objspace/std/test/test_obj.py b/pypy/objspace/std/test/test_obj.py --- a/pypy/objspace/std/test/test_obj.py +++ b/pypy/objspace/std/test/test_obj.py @@ -211,11 +211,10 @@ def test_identity_vs_id_primitives(self): import sys - l = range(-10, 10, 2) + l = list(range(-10, 10, 2)) for i in [0, 1, 3]: l.append(float(i)) l.append(i + 0.1) - l.append(long(i)) l.append(i + sys.maxsize) l.append(i - sys.maxsize) l.append(i + 1j) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit