[pypy-svn] r67690 - pypy/trunk/pypy/jit/metainterp/test

antocuni at codespeak.net antocuni at codespeak.net
Tue Sep 15 14:11:50 CEST 2009


Author: antocuni
Date: Tue Sep 15 14:11:48 2009
New Revision: 67690

Modified:
   pypy/trunk/pypy/jit/metainterp/test/test_basic.py
Log:
fix this test. Btw, it seems that returning None is not really supported by
ootype tests, causing all subsequent tests to fail.



Modified: pypy/trunk/pypy/jit/metainterp/test/test_basic.py
==============================================================================
--- pypy/trunk/pypy/jit/metainterp/test/test_basic.py	(original)
+++ pypy/trunk/pypy/jit/metainterp/test/test_basic.py	Tue Sep 15 14:11:48 2009
@@ -639,7 +639,7 @@
                 inst = cls()
                 x += inst.foo
                 n -= 1
-            return 
+            return x
         res = self.meta_interp(f, [20])
         assert res == f(20)
         self.check_loops(call=0)



More information about the Pypy-commit mailing list