[pypy-svn] r53242 - in pypy/branch/jit-hotpath/pypy/jit: rainbow/test timeshifter

antocuni at codespeak.net antocuni at codespeak.net
Wed Apr 2 00:04:19 CEST 2008


Author: antocuni
Date: Wed Apr  2 00:04:19 2008
New Revision: 53242

Modified:
   pypy/branch/jit-hotpath/pypy/jit/rainbow/test/test_vlist.py
   pypy/branch/jit-hotpath/pypy/jit/timeshifter/vlist.py
Log:
all tests pass! :-)



Modified: pypy/branch/jit-hotpath/pypy/jit/rainbow/test/test_vlist.py
==============================================================================
--- pypy/branch/jit-hotpath/pypy/jit/rainbow/test/test_vlist.py	(original)
+++ pypy/branch/jit-hotpath/pypy/jit/rainbow/test/test_vlist.py	Wed Apr  2 00:04:19 2008
@@ -192,15 +192,5 @@
 class TestOOType(VListTest):
     type_system = "ootype"
 
-    def _skip(self):
-        py.test.skip('in progress')
-
-    test_alloc_and_set = _skip
-    test_lists_deepfreeze = _skip
-    test_frozen_list = _skip
-    test_frozen_list_indexerror = _skip
-    test_bogus_index_while_compiling = _skip
-
-
 class TestLLType(VListTest):
     type_system = "lltype"

Modified: pypy/branch/jit-hotpath/pypy/jit/timeshifter/vlist.py
==============================================================================
--- pypy/branch/jit-hotpath/pypy/jit/timeshifter/vlist.py	(original)
+++ pypy/branch/jit-hotpath/pypy/jit/timeshifter/vlist.py	Wed Apr  2 00:04:19 2008
@@ -407,7 +407,7 @@
         if len(item_boxes) < length:
             diff = length - len(item_boxes)
             item_boxes += [content.itembox] * diff
-        else:
+        elif len(item_boxes) > length:
             assert False, 'XXX'
     else:
         oopspecdesc.residual_call(jitstate, [selfbox],



More information about the Pypy-commit mailing list