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

ac at codespeak.net ac at codespeak.net
Thu Nov 16 11:48:57 CET 2006


Author: ac
Date: Thu Nov 16 11:48:56 2006
New Revision: 34656

Modified:
   pypy/dist/pypy/jit/timeshifter/test/test_tlc.py
Log:
This test passes so enable it.

Modified: pypy/dist/pypy/jit/timeshifter/test/test_tlc.py
==============================================================================
--- pypy/dist/pypy/jit/timeshifter/test/test_tlc.py	(original)
+++ pypy/dist/pypy/jit/timeshifter/test/test_tlc.py	Thu Nov 16 11:48:56 2006
@@ -36,7 +36,6 @@
         assert res == expected
 
     def test_nth_item(self):
-        py.test.skip("in-progress")
         # get the nth item of a chained list
         code = tlc.compile("""
             NIL
@@ -50,6 +49,8 @@
             DIV
         """)
         bytecode = ','.join([str(ord(c)) for c in code])
-        res = self.timeshift(tlc_interp_without_call, [bytecode, 0, 1],
-                             [0, 1], policy=P_OOPSPEC)#, backendoptimize=True)
+        res = self.timeshift_from_portal(tlc_interp_without_call,
+                                         tlc_interp_eval_without_call,
+                                         [bytecode, 0, 1],
+                                         policy=P_OOPSPEC)#, backendoptimize=True)
         assert res == 20



More information about the Pypy-commit mailing list