[pypy-commit] pypy default: possibly fix the test---the comparison might have been removed by the

arigo pypy.commits at gmail.com
Wed Nov 30 10:18:08 EST 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r88770:226ca1a1aeee
Date: 2016-11-30 16:00 +0100
http://bitbucket.org/pypy/pypy/changeset/226ca1a1aeee/

Log:	possibly fix the test---the comparison might have been removed by
	the AST compiler

diff --git a/pypy/module/pypyjit/test_pypy_c/test_misc.py b/pypy/module/pypyjit/test_pypy_c/test_misc.py
--- a/pypy/module/pypyjit/test_pypy_c/test_misc.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_misc.py
@@ -387,7 +387,8 @@
     def test_long_comparison(self):
         def main(n):
             while n:
-                12345L > 123L  # ID: long_op
+                x = 12345L
+                x > 123L  # ID: long_op
                 n -= 1
 
         log = self.run(main, [300])


More information about the pypy-commit mailing list