[pypy-commit] pypy default: fix this test I hope

fijal noreply at buildbot.pypy.org
Sun Oct 4 10:31:44 CEST 2015


Author: fijal
Branch: 
Changeset: r79960:2d352d04adf6
Date: 2015-10-04 10:32 +0200
http://bitbucket.org/pypy/pypy/changeset/2d352d04adf6/

Log:	fix this test I hope

diff --git a/rpython/jit/metainterp/test/test_fficall.py b/rpython/jit/metainterp/test/test_fficall.py
--- a/rpython/jit/metainterp/test/test_fficall.py
+++ b/rpython/jit/metainterp/test/test_fficall.py
@@ -187,7 +187,10 @@
 
     def test_simple_call_longlong(self, **kwds):
         kwds.setdefault('supports_longlong', True)
-        kwds['expected_call_release_gil_i'] = kwds.pop('expected_call_release_gil', 1)
+        if is_64_bit:
+            kwds['expected_call_release_gil_i'] = kwds.pop('expected_call_release_gil', 1)
+        else:
+            kwds['expected_call_release_gil_f'] = kwds.pop('expected_call_release_gil', 1)
         maxint32 = 2147483647
         a = r_longlong(maxint32) + 1
         b = r_longlong(maxint32) + 2


More information about the pypy-commit mailing list