Commits

Lukas Diekmann  committed 50273dd

Fixed some remaining tests for strategies in DictMultiObject

  • Participants
  • Parent commits 1d437de
  • Branches dict-strategies

Comments (0)

Files changed (1)

File pypy/objspace/std/test/test_dictmultiobject.py

 class BaseTestDevolvedDictImplementation(BaseTestRDictImplementation):
     def fill_impl(self):
         BaseTestRDictImplementation.fill_impl(self)
-        self.impl._as_rdict()
+        self.impl.strategy.switch_to_object_strategy(self.impl)
 
     def check_not_devolved(self):
         pass
 def test_module_uses_strdict():
     fakespace = FakeSpace()
     d = fakespace.newdict(module=True)
-    assert isinstance(d, StrDictImplementation)
-
+    assert type(d.strategy) is StringDictStrategy