Author: Alex Gaynor <[email protected]>
Branch: float-bytes-2
Changeset: r54032:a07c5ce1beca
Date: 2012-03-27 05:28 +0000
http://bitbucket.org/pypy/pypy/changeset/a07c5ce1beca/
Log: fix test for 32-bits
diff --git a/pypy/jit/backend/test/runner_test.py
b/pypy/jit/backend/test/runner_test.py
--- a/pypy/jit/backend/test/runner_test.py
+++ b/pypy/jit/backend/test/runner_test.py
@@ -1632,7 +1632,7 @@
bytes = longlong2float.float2longlong(2.5)
res = self.execute_operation(rop.CONVERT_LONGLONG_BYTES_TO_FLOAT,
[boxlonglong(res)], 'float').value
- assert res == 2.5
+ assert longlong.getrealfloat(res) == 2.5
def test_ooops_non_gc(self):
x = lltype.malloc(lltype.Struct('x'), flavor='raw')
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit