[pypy-svn] r66975 - pypy/branch/pyjitpl5/pypy/jit/metainterp/test

fijal at codespeak.net fijal at codespeak.net
Wed Aug 19 15:51:35 CEST 2009


Author: fijal
Date: Wed Aug 19 15:51:35 2009
New Revision: 66975

Modified:
   pypy/branch/pyjitpl5/pypy/jit/metainterp/test/test_basic.py
Log:
Make inheritance a bit better


Modified: pypy/branch/pyjitpl5/pypy/jit/metainterp/test/test_basic.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/metainterp/test/test_basic.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/metainterp/test/test_basic.py	Wed Aug 19 15:51:35 2009
@@ -890,7 +890,7 @@
 
 
 
-class TestLLtype(BasicTests, LLJitMixin):
+class BaseLLtypeTests(BasicTests):
 
     def test_oops_on_nongc(self):
         from pypy.rpython.lltypesystem import lltype
@@ -918,3 +918,6 @@
         x = lltype.malloc(TP)
         expected = lltype.cast_opaque_ptr(llmemory.GCREF, x)
         assert self.interp_operations(f, [x]) == expected
+
+class TestLLtype(BaseLLtypeTests, LLJitMixin):
+    pass



More information about the Pypy-commit mailing list