Author: Lukas Diekmann <[email protected]>
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)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit