Author: Antonio Cuni <anto.c...@gmail.com> Branch: py3k Changeset: r53872:4e43431597f2 Date: 2012-03-21 20:10 +0100 http://bitbucket.org/pypy/pypy/changeset/4e43431597f2/
Log: 2to3 diff --git a/pypy/objspace/std/test/test_stringobject.py b/pypy/objspace/std/test/test_stringobject.py --- a/pypy/objspace/std/test/test_stringobject.py +++ b/pypy/objspace/std/test/test_stringobject.py @@ -752,10 +752,10 @@ def test_replace_overflow(self): import sys - if sys.maxint > 2**31-1: + if sys.maxsize > 2**31-1: skip("Wrong platform") s = b"a" * (2**16) - raises(OverflowError, s.replace, "", s) + raises(OverflowError, s.replace, b"", s) def test_getslice(self): s = b"abc" _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit