[pypy-svn] r78116 - pypy/trunk/pypy/module/pypyjit/test

arigo at codespeak.net arigo at codespeak.net
Wed Oct 20 11:53:59 CEST 2010


Author: arigo
Date: Wed Oct 20 11:53:57 2010
New Revision: 78116

Modified:
   pypy/trunk/pypy/module/pypyjit/test/test_pypy_c.py
Log:
Baaah.  This was a CALL_METHOD instead of a CALL_FUNCTION.


Modified: pypy/trunk/pypy/module/pypyjit/test/test_pypy_c.py
==============================================================================
--- pypy/trunk/pypy/module/pypyjit/test/test_pypy_c.py	(original)
+++ pypy/trunk/pypy/module/pypyjit/test/test_pypy_c.py	Wed Oct 20 11:53:57 2010
@@ -560,13 +560,13 @@
 
     def test_blockstack_virtualizable(self):
         self.run_source('''
-        import pypyjit
+        from pypyjit import residual_call
 
         def main():
             i = 0
             while i < 100:
                 try:
-                    pypyjit.residual_call(len, [])
+                    residual_call(len, [])
                 except:
                     pass
                 i += 1



More information about the Pypy-commit mailing list