Author: Armin Rigo <ar...@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 + _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit