# Bug report ### Bug description: ```python ./python.exe -m test -R 3:3 test_frame Using random seed: 617081239 0:00:00 load avg: 38.69 Run 1 test sequentially 0:00:00 load avg: 38.69 [1/1] test_frame beginning 6 repetitions. Showing number of leaks (. for 0 or less, X for 10 or more) 123:456 Xtest test_frame failed -- Traceback (most recent call last): File "/Users/admin/Projects/cpython/Lib/test/test_frame.py", line 353, in test_sneaky_frame_object self.assertIs(g.gi_frame, sneaky_frame_object) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: <frame at 0x1063d5020, file '/Users/admin/Projects/cpython/Lib/test/test_frame.py', line 318, code f> is not <frame at 0x10637b9b0, file '/Users/admin/Projects/cpython/Lib/test/test_frame.py', line 353, code test_sneaky_frame_object> test_frame failed (1 failure) == Tests result: FAILURE == 1 test failed: test_frame Total duration: 146 ms Total tests: run=21 failures=1 Total test files: run=1/1 failed=1 Result: FAILURE ``` ### CPython versions tested on: CPython main branch ### Operating systems tested on: macOS <!-- gh-linked-prs --> ### Linked PRs * gh-116178 * gh-116687 <!-- /gh-linked-prs -->