[pypy-commit] pypy default: skip these tests with -A
antocuni
noreply at buildbot.pypy.org
Fri Jul 22 10:19:26 CEST 2011
Author: Antonio Cuni <anto.cuni at 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__
More information about the pypy-commit
mailing list