Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r46851:f5fb325fbffd Date: 2011-08-28 10:34 +0200 http://bitbucket.org/pypy/pypy/changeset/f5fb325fbffd/
Log: Fix. diff --git a/pypy/objspace/std/test/test_celldict.py b/pypy/objspace/std/test/test_celldict.py --- a/pypy/objspace/std/test/test_celldict.py +++ b/pypy/objspace/std/test/test_celldict.py @@ -6,8 +6,6 @@ BaseTestRDictImplementation, BaseTestDevolvedDictImplementation from pypy.interpreter import gateway -from pypy.conftest import gettestobjspace, option - space = FakeSpace() class TestCellDict(object): @@ -44,9 +42,10 @@ class AppTestModuleDict(object): def setup_class(cls): cls.space = gettestobjspace(**{"objspace.std.withcelldict": True}) + cls.w_runappdirect = cls.space.wrap(option.runappdirect) def w_impl_used(self, obj): - if option.runappdirect: + if self.runappdirect: py.test.skip("__repr__ doesn't work on appdirect") import __pypy__ assert "ModuleDictStrategy" in __pypy__.internal_repr(obj) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit