Commits

Armin Rigo committed f29b84b

Oups, sorry. Fix two tests failing in backend/x86/test/.

  • Participants
  • Parent commits 9a14ac8

Comments (0)

Files changed (2)

rpython/jit/metainterp/test/test_dict.py

 from collections import OrderedDict
 
 class DictTests:
+    @staticmethod
+    def newdict():   # overridden in TestLLOrderedDict
+        return {}
+
     def _freeze_(self):
         return True
 
 
 
 class TestLLtype(DictTests, LLJitMixin):
-    @staticmethod
-    def newdict():
-        return {}
+    pass
 
 class TestLLOrderedDict(DictTests, LLJitMixin):
     @staticmethod

rpython/jit/metainterp/test/test_rawmem.py

                                        'raw_store': 1, 'raw_load': 1,
                                        'finish': 1})
 
+
+class TestRawMem(RawMemTests, LLJitMixin):
+
     def test_getarraysubstruct(self):
+        # NOTE: not for backend/*/test
         A2 = lltype.Array(('a', lltype.Signed), ('b', lltype.Signed),
                           hints={'nolength': True})
         p = lltype.malloc(A2, 10, flavor='raw', immortal=True, zero=True)
         assert res == 66
         res = self.interp_operations(f, [2, 2], disable_optimizations=True)
         assert res == 44
-
-class TestRawMem(RawMemTests, LLJitMixin):
-    pass