summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_frame.py
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2022-10-08 14:57:09 (GMT)
committerGitHub <noreply@github.com>2022-10-08 14:57:09 (GMT)
commit83eb827247dd28b13fd816936c74c162e9f52a2d (patch)
tree40a8abf0018f178eeadd976ad4cba326f9a86029 /Lib/test/test_frame.py
parentc66dbddfbaa374a6954897809574ee9fb463e393 (diff)
downloadcpython-83eb827247dd28b13fd816936c74c162e9f52a2d.zip
cpython-83eb827247dd28b13fd816936c74c162e9f52a2d.tar.gz
cpython-83eb827247dd28b13fd816936c74c162e9f52a2d.tar.bz2
gh-97922: Run the GC only on eval breaker (#97920)
Diffstat (limited to 'Lib/test/test_frame.py')
-rw-r--r--Lib/test/test_frame.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_frame.py b/Lib/test/test_frame.py
index 4b86a60..4b5bb7f 100644
--- a/Lib/test/test_frame.py
+++ b/Lib/test/test_frame.py
@@ -277,7 +277,7 @@ class TestIncompleteFrameAreInvisible(unittest.TestCase):
frame!
"""
nonlocal sneaky_frame_object
- sneaky_frame_object = sys._getframe().f_back
+ sneaky_frame_object = sys._getframe().f_back.f_back
# We're done here:
gc.callbacks.remove(callback)