[pypy-commit] pypy py3k: our ints all inherits from W_AbstractIntObject now
antocuni
noreply at buildbot.pypy.org
Wed Mar 21 20:40:24 CET 2012
Author: Antonio Cuni <anto.cuni at gmail.com>
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
More information about the pypy-commit
mailing list