[pypy-commit] pypy default: merge heads

arigo noreply at buildbot.pypy.org
Tue Nov 8 13:21:23 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r48921:2e501c64546b
Date: 2011-11-08 12:48 +0100
http://bitbucket.org/pypy/pypy/changeset/2e501c64546b/

Log:	merge heads

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
@@ -1,5 +1,6 @@
 from pypy.interpreter.error import OperationError
 from pypy.interpreter.gateway import app2interp
+from pypy.conftest import gettestobjspace
 
 class TestW_StdObjSpace:
 
@@ -60,3 +61,10 @@
             typedef = None
 
         assert space.isinstance_w(X(), space.w_str)
+
+    def test_withstrbuf_fastpath_isinstance(self):
+        from pypy.objspace.std.stringobject import W_StringObject
+
+        space = gettestobjspace(withstrbuf=True) 
+        assert space._get_interplevel_cls(space.w_str) is W_StringObject
+        


More information about the pypy-commit mailing list