[pypy-svn] r68118 - pypy/branch/floats-via-sse2/pypy/jit/backend/test

arigo at codespeak.net arigo at codespeak.net
Thu Oct 1 19:23:16 CEST 2009


Author: arigo
Date: Thu Oct  1 19:23:15 2009
New Revision: 68118

Modified:
   pypy/branch/floats-via-sse2/pypy/jit/backend/test/runner_test.py
Log:
Fix the test.


Modified: pypy/branch/floats-via-sse2/pypy/jit/backend/test/runner_test.py
==============================================================================
--- pypy/branch/floats-via-sse2/pypy/jit/backend/test/runner_test.py	(original)
+++ pypy/branch/floats-via-sse2/pypy/jit/backend/test/runner_test.py	Thu Oct  1 19:23:15 2009
@@ -912,7 +912,7 @@
         res = self.cpu.get_latest_value_float(0)
         assert res == 8.5
         for i in range(1, len(fboxes)):
-            assert self.cpu.get_latest_value_float(i) == fboxes[i].value
+            assert self.cpu.get_latest_value_float(i) == 13.5 + 6.73 * i
 
     def test_unused_result_int(self):
         # check operations with no side effect and whose result



More information about the Pypy-commit mailing list