Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r60022:f1ea1ef8cd72
Date: 2013-01-13 11:22 +0100
http://bitbucket.org/pypy/pypy/changeset/f1ea1ef8cd72/

Log:    Try to fix the test, but it still fails

diff --git a/pypy/jit/metainterp/test/test_fficall.py 
b/pypy/jit/metainterp/test/test_fficall.py
--- a/pypy/jit/metainterp/test/test_fficall.py
+++ b/pypy/jit/metainterp/test/test_fficall.py
@@ -105,7 +105,7 @@
 
 
 class TestFfiCall(FfiCallTests, LLJitMixin):
-    def test_jit_fii_vref(self):
+    def test_jit_ffi_vref(self):
         from pypy.rlib import clibffi
         from pypy.rlib.jit_libffi import jit_ffi_prep_cif, jit_ffi_call
 
@@ -136,9 +136,10 @@
             res = exb[3]
             lltype.free(exb, flavor='raw')
             #
-            lltype.free(atypes, flavor='raw')
             return res
             #
         res = self.interp_operations(f, [])
         lltype.free(cd, flavor='raw')
         assert res == math.sin(1.23)
+
+        lltype.free(atypes, flavor='raw')
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to