[pypy-commit] pypy py3k: int is W_LongObject

pjenvey noreply at buildbot.pypy.org
Sat Apr 6 02:27:36 CEST 2013


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r63078:727a7454acb0
Date: 2013-04-05 17:25 -0700
http://bitbucket.org/pypy/pypy/changeset/727a7454acb0/

Log:	int is W_LongObject

diff --git a/pypy/objspace/std/test/test_stdobjspace.py b/pypy/objspace/std/test/test_stdobjspace.py
--- a/pypy/objspace/std/test/test_stdobjspace.py
+++ b/pypy/objspace/std/test/test_stdobjspace.py
@@ -51,13 +51,13 @@
 
     def test_fastpath_isinstance(self):
         from pypy.objspace.std.stringobject import W_StringObject
-        from pypy.objspace.std.intobject import W_AbstractIntObject
+        from pypy.objspace.std.longobject import W_LongObject
         from pypy.objspace.std.iterobject import W_AbstractSeqIterObject
         from pypy.objspace.std.iterobject import W_SeqIterObject
 
         space = self.space
         assert space._get_interplevel_cls(space.w_str) is W_StringObject
-        assert space._get_interplevel_cls(space.w_int) is W_AbstractIntObject
+        assert space._get_interplevel_cls(space.w_int) is W_LongObject
         class X(W_StringObject):
             def __init__(self):
                 pass


More information about the pypy-commit mailing list