[pypy-svn] r52085 - pypy/dist/pypy/jit/timeshifter/test

arigo at codespeak.net arigo at codespeak.net
Mon Mar 3 11:58:27 CET 2008


Author: arigo
Date: Mon Mar  3 11:58:26 2008
New Revision: 52085

Modified:
   pypy/dist/pypy/jit/timeshifter/test/test_timeshift.py
Log:
Fix for various tests, e.g. module/pypyjit/test/test_newbool


Modified: pypy/dist/pypy/jit/timeshifter/test/test_timeshift.py
==============================================================================
--- pypy/dist/pypy/jit/timeshifter/test/test_timeshift.py	(original)
+++ pypy/dist/pypy/jit/timeshifter/test/test_timeshift.py	Mon Mar  3 11:58:26 2008
@@ -53,6 +53,9 @@
     small = True
     type_system = 'lltype' # because a lot of tests inherits from this class
 
+    def Ptr(self, T):
+        return lltype.Ptr(T)
+
     def setup_class(cls):
         from pypy.jit.timeshifter.test.conftest import option
         cls.on_llgraph = cls.RGenOp is LLRGenOp
@@ -1796,9 +1799,6 @@
 class TestLLType(BaseTestTimeshift):
     type_system = 'lltype'
 
-    def Ptr(self, T):
-        return lltype.Ptr(T)
-
 passing_ootype_tests = set([
     'test_very_simple',
     'test_convert_const_to_redbox',


More information about the pypy-svn mailing list