[pypy-commit] pypy portable-threadlocal: fix test
arigo
noreply at buildbot.pypy.org
Wed Nov 26 20:13:27 CET 2014
Author: Armin Rigo <arigo at tunes.org>
Branch: portable-threadlocal
Changeset: r74740:cd80e75755dc
Date: 2014-11-26 20:13 +0100
http://bitbucket.org/pypy/pypy/changeset/cd80e75755dc/
Log: fix test
diff --git a/pypy/module/pypyjit/test_pypy_c/model.py b/pypy/module/pypyjit/test_pypy_c/model.py
--- a/pypy/module/pypyjit/test_pypy_c/model.py
+++ b/pypy/module/pypyjit/test_pypy_c/model.py
@@ -184,10 +184,10 @@
matcher = OpMatcher(ops)
return matcher.match(expected_src, **kwds)
- def match_by_id(self, id, expected_src, **kwds):
+ def match_by_id(self, id, expected_src, ignore_ops=[], **kwds):
ops = list(self.ops_by_id(id, **kwds))
matcher = OpMatcher(ops, id)
- return matcher.match(expected_src)
+ return matcher.match(expected_src, ignore_ops=ignore_ops)
class PartialTraceWithIds(TraceWithIds):
def __init__(self, trace, is_entry_bridge=False):
More information about the pypy-commit
mailing list