Author: Armin Rigo <[email protected]>
Branch: jit-singlefloat
Changeset: r46071:e131bb0832ae
Date: 2011-07-28 23:46 +0200
http://bitbucket.org/pypy/pypy/changeset/e131bb0832ae/

Log:    Oups, fix test.

diff --git a/pypy/jit/backend/llsupport/test/test_descr.py 
b/pypy/jit/backend/llsupport/test/test_descr.py
--- a/pypy/jit/backend/llsupport/test/test_descr.py
+++ b/pypy/jit/backend/llsupport/test/test_descr.py
@@ -426,7 +426,7 @@
 
 def test_call_stubs_single_float():
     from pypy.rlib.longlong2float import uint2singlefloat, singlefloat2uint
-    from pypy.rlib.rarithmetic import r_singlefloat, intmask, r_uint
+    from pypy.rlib.rarithmetic import r_singlefloat, intmask
     #
     c0 = GcCache(False)
     ARGS = [lltype.SingleFloat, lltype.SingleFloat, lltype.SingleFloat]
@@ -446,4 +446,4 @@
     c = intmask(singlefloat2uint(r_singlefloat(2.0)))
     res = descr2.call_stub(rffi.cast(lltype.Signed, fnptr),
                            [a, b, c], [], [])
-    assert float(uint2singlefloat(r_uint(res))) == -11.5
+    assert float(uint2singlefloat(rffi.r_uint(res))) == -11.5
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to