[pypy-commit] pypy py3.5: fix test

rlamy pypy.commits at gmail.com
Sun Dec 3 15:00:33 EST 2017


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: py3.5
Changeset: r93260:6025539c2c58
Date: 2017-12-03 19:59 +0000
http://bitbucket.org/pypy/pypy/changeset/6025539c2c58/

Log:	fix test

diff --git a/pypy/module/pypyjit/test_pypy_c/test_jitlogparser.py b/pypy/module/pypyjit/test_pypy_c/test_jitlogparser.py
--- a/pypy/module/pypyjit/test_pypy_c/test_jitlogparser.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_jitlogparser.py
@@ -51,10 +51,12 @@
                 # do not care for _optimize_charset or _mk_bitmap
                 continue
             assert loop.count > 0
-            if ' is_prime, ' in loop.comment:
+            if 'is_prime' in loop.comment:
                 is_prime_loops.append(loop)
-            elif ' fn_with_bridges, ' in loop.comment:
+            elif 'fn_with_bridges' in loop.comment:
                 fn_with_bridges_loops.append(loop)
+            elif 'tuple.contains' in loop.comment:
+                pass
             else:
                 assert ' bridge ' in loop.comment
                 key = mangle_descr(loop.descr)


More information about the pypy-commit mailing list