Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r51647:7cd209e0414e
Date: 2012-01-22 17:29 +0100
http://bitbucket.org/pypy/pypy/changeset/7cd209e0414e/

Log:    fix the test.

diff --git a/pypy/module/pypyjit/test_pypy_c/test_math.py 
b/pypy/module/pypyjit/test_pypy_c/test_math.py
--- a/pypy/module/pypyjit/test_pypy_c/test_math.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_math.py
@@ -102,6 +102,7 @@
         assert abs(log.result - main(500)) < 1e-9
         loop, = log.loops_by_filename(self.filepath)
         assert loop.match_by_id("pow", """
-            f2 = float_mul(f1, f1)
-            f3 = float_sub(f1, f2)
+            guard_not_invalidated(descr=...)
+            f38 = float_mul(f30, f30)
+            f39 = float_sub(f30, f38)
         """)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to