[pypy-commit] pypy py3k: 2to3

mjacob noreply at buildbot.pypy.org
Wed Feb 25 16:40:38 CET 2015


Author: Manuel Jacob <me at manueljacob.de>
Branch: py3k
Changeset: r76137:8d66bee0307a
Date: 2015-02-25 16:38 +0100
http://bitbucket.org/pypy/pypy/changeset/8d66bee0307a/

Log:	2to3

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
@@ -486,7 +486,7 @@
 
     def test_bit_length_max(self):
         import sys
-        val = -sys.maxint-1
+        val = -sys.maxsize-1
         bits = 32 if val == -2147483648 else 64
         assert val.bit_length() == bits
 


More information about the pypy-commit mailing list