Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r53875:fc6428f099b6
Date: 2012-03-21 20:38 +0100
http://bitbucket.org/pypy/pypy/changeset/fc6428f099b6/

Log:    our ints all inherits from W_AbstractIntObject now

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
@@ -49,13 +49,13 @@
 
     def test_fastpath_isinstance(self):
         from pypy.objspace.std.stringobject import W_StringObject
-        from pypy.objspace.std.intobject import W_IntObject
+        from pypy.objspace.std.intobject import W_AbstractIntObject
         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_IntObject
+        assert space._get_interplevel_cls(space.w_int) is W_AbstractIntObject
         class X(W_StringObject):
             def __init__(self):
                 pass
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to