[pypy-commit] pypy dict-strategies: __repr__ doesn't work in compiled version
l.diekmann
noreply at buildbot.pypy.org
Wed Jun 8 15:20:05 CEST 2011
Author: Lukas Diekmann <lukas.diekmann at uni-duesseldorf.de>
Branch: dict-strategies
Changeset: r44832:e1087777aff9
Date: 2011-06-08 15:21 +0200
http://bitbucket.org/pypy/pypy/changeset/e1087777aff9/
Log: __repr__ doesn't work in compiled version
diff --git a/pypy/objspace/std/test/test_dictmultiobject.py b/pypy/objspace/std/test/test_dictmultiobject.py
--- a/pypy/objspace/std/test/test_dictmultiobject.py
+++ b/pypy/objspace/std/test/test_dictmultiobject.py
@@ -6,7 +6,7 @@
from pypy.objspace.std.celldict import ModuleDictStrategy
from pypy.conftest import gettestobjspace
-
+from pypy.conftest import option
class TestW_DictObject:
@@ -779,6 +779,10 @@
assert F() not in d
class AppTestStrategies(object):
+ def setup_class(cls):
+ if option.runappdirect:
+ py.test.skip("__repr__ doesn't work on appdirect")
+
def w_get_strategy(self, obj):
import __pypy__
r = __pypy__.internal_repr(obj)
More information about the pypy-commit
mailing list