Author: Ronan Lamy <[email protected]>
Branch: py3.6
Changeset: r97129:060585210eea
Date: 2019-08-09 18:30 +0100
http://bitbucket.org/pypy/pypy/changeset/060585210eea/
Log: fix test
diff --git a/pypy/interpreter/executioncontext.py
b/pypy/interpreter/executioncontext.py
--- a/pypy/interpreter/executioncontext.py
+++ b/pypy/interpreter/executioncontext.py
@@ -656,7 +656,7 @@
def make_finalizer_queue(W_Root, space):
"""Make a FinalizerQueue subclass which responds to GC finalizer
events by 'firing' the UserDelAction class above. It does not
- directly fetches the objects to finalize at all; they stay in the
+ directly fetches the objects to finalize at all; they stay in the
GC-managed queue, and will only be fetched by UserDelAction
(between bytecodes)."""
diff --git a/pypy/interpreter/test/apptest_pyframe.py
b/pypy/interpreter/test/apptest_pyframe.py
--- a/pypy/interpreter/test/apptest_pyframe.py
+++ b/pypy/interpreter/test/apptest_pyframe.py
@@ -277,11 +277,11 @@
def test_trace_ignore_hidden():
import sys
import _testing
+ _testing.Hidden # avoid module lazy-loading weirdness when untranslated
l = []
def trace(a,b,c):
- if a.f_code.co_name != "decode":
- l.append((a,b,c))
+ l.append((a,b,c))
def f():
h = _testing.Hidden()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit