Author: Antonio Cuni <anto.c...@gmail.com> Branch: Changeset: r45861:52ac2c66da7a Date: 2011-07-22 10:19 +0200 http://bitbucket.org/pypy/pypy/changeset/52ac2c66da7a/
Log: skip these tests with -A diff --git a/pypy/objspace/std/test/test_identitydict.py b/pypy/objspace/std/test/test_identitydict.py --- a/pypy/objspace/std/test/test_identitydict.py +++ b/pypy/objspace/std/test/test_identitydict.py @@ -1,3 +1,4 @@ +import py from pypy.interpreter.gateway import interp2app from pypy.conftest import gettestobjspace from pypy.conftest import option @@ -8,6 +9,8 @@ from pypy.objspace.std import identitydict cls.space = gettestobjspace( **{"objspace.std.withidentitydict": True}) + if option.runappdirect: + py.test.skip("interp2app doesn't work on appdirect") def compares_by_identity(space, w_cls): return space.wrap(w_cls.compares_by_identity()) @@ -49,7 +52,7 @@ def setup_class(cls): cls.space = gettestobjspace(**{"objspace.std.withidentitydict": True}) if option.runappdirect: - py.test.skip("__repr__ doesn't work on appdirect") + py.test.skip("interp2app doesn't work on appdirect") def w_uses_identity_strategy(self, obj): import __pypy__ _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit