Author: Alex Gaynor <[email protected]>
Branch: float-bytes
Changeset: r53762:23235feffeef
Date: 2012-03-17 11:08 -0500
http://bitbucket.org/pypy/pypy/changeset/23235feffeef/
Log: fix for 32-bits
diff --git a/pypy/jit/metainterp/test/test_ajit.py
b/pypy/jit/metainterp/test/test_ajit.py
--- a/pypy/jit/metainterp/test/test_ajit.py
+++ b/pypy/jit/metainterp/test/test_ajit.py
@@ -3,6 +3,7 @@
import py
from pypy import conftest
+from pypy.jit.codewriter import longlong
from pypy.jit.codewriter.policy import JitPolicy, StopAtXPolicy
from pypy.jit.metainterp import pyjitpl, history
from pypy.jit.metainterp.optimizeopt import ALL_OPTS_DICT
@@ -3802,7 +3803,7 @@
# There are tests elsewhere to verify the correctness of this.
expected = float2longlong(x)
res = self.interp_operations(f, [x])
- assert res == expected
+ assert longlong.getfloatstorage(res) == expected
class TestLLtype(BaseLLtypeTests, LLJitMixin):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit