Author: Carl Friedrich Bolz-Tereick <cfb...@gmx.de> Branch: py3.5 Changeset: r94921:dfda715a5495 Date: 2018-07-28 21:31 +0200 http://bitbucket.org/pypy/pypy/changeset/dfda715a5495/
Log: fix the tests in test_pyframe that fail in combination with other files diff --git a/pypy/interpreter/test/test_pyframe.py b/pypy/interpreter/test/test_pyframe.py --- a/pypy/interpreter/test/test_pyframe.py +++ b/pypy/interpreter/test/test_pyframe.py @@ -153,6 +153,8 @@ r""" seen = [] def tracer(f, event, *args): + if f.f_code.co_name == "decode": + return tracer seen.append((event, f.f_lineno)) if len(seen) == 5: f.f_lineno = 1 # bug shown only when setting lineno to 1 @@ -297,7 +299,8 @@ l = [] def trace(a,b,c): - l.append((a,b,c)) + if a.f_code.co_name != "decode": + l.append((a,b,c)) def f(): h = _testing.Hidden() _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit