[pypy-svn] r72698 - pypy/branch/fix-64/pypy/rpython/memory/test

arigo at codespeak.net arigo at codespeak.net
Wed Mar 24 11:29:57 CET 2010


Author: arigo
Date: Wed Mar 24 11:29:55 2010
New Revision: 72698

Modified:
   pypy/branch/fix-64/pypy/rpython/memory/test/test_gc.py
Log:
Fix: GcArray(Float) is too large on 64 bits for some of these tests.


Modified: pypy/branch/fix-64/pypy/rpython/memory/test/test_gc.py
==============================================================================
--- pypy/branch/fix-64/pypy/rpython/memory/test/test_gc.py	(original)
+++ pypy/branch/fix-64/pypy/rpython/memory/test/test_gc.py	Wed Mar 24 11:29:55 2010
@@ -436,7 +436,7 @@
         assert res == 42
 
     def test_can_move(self):
-        TP = lltype.GcArray(lltype.Float)
+        TP = lltype.GcArray(lltype.UniChar)
         def func():
             return rgc.can_move(lltype.malloc(TP, 1))
         assert self.interpret(func, []) == self.GC_CAN_MOVE



More information about the Pypy-commit mailing list