lib-python/3/test/test_frame.py::unmodified
== PyPy 3.12.13 (a3c6b428e7a8, Jul 09 2026, 03:54:00) [PyPy 8.0.0-alpha0 with GCC Apple LLVM 16.0.0 (clang-1600.0.26.6)]
== macOS-15.7.7-arm64-arm-64bit little-endian
== Python build: release with_assert
== cwd: /private/tmp/buildbot-arm64/pytest/test_python_worker_55346æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 3850908298
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 5.38 Run 1 test sequentially in a single process
0:00:00 load avg: 5.38 [1/1] test_frame
test_clear_does_not_clear_specials (test.test_frame.ClearTest.test_clear_does_not_clear_specials) ... ok
test_clear_executing (test.test_frame.ClearTest.test_clear_executing) ... ok
test_clear_executing_generator (test.test_frame.ClearTest.test_clear_executing_generator) ... ok
test_clear_generator (test.test_frame.ClearTest.test_clear_generator) ... ok
test_clear_locals (test.test_frame.ClearTest.test_clear_locals) ... ok
test_clear_refcycles (test.test_frame.ClearTest.test_clear_refcycles) ... skipped 'implementation detail specific to cpython'
test_lineno_with_tracing (test.test_frame.ClearTest.test_lineno_with_tracing) ... ok
test_clear_locals (test.test_frame.FrameAttrsTest.test_clear_locals) ... ok
test_f_lineno_del_segfault (test.test_frame.FrameAttrsTest.test_f_lineno_del_segfault) ... ok
test_locals (test.test_frame.FrameAttrsTest.test_locals) ... ok
test_locals_clear_locals (test.test_frame.FrameAttrsTest.test_locals_clear_locals) ... ok
test_repr (test.test_frame.ReprTest.test_repr) ... ok
test_frame_fback_api (test.test_frame.TestCAPI.test_frame_fback_api)
Test that accessing `f_back` does not cause a segmentation fault on ... skipped 'need _testcapi'
test_frame_get_generator (test.test_frame.TestCAPI.test_frame_get_generator) ... skipped 'need _testcapi'
test_frame_getters (test.test_frame.TestCAPI.test_frame_getters) ... skipped 'need _testcapi'
test_getvar (test.test_frame.TestCAPI.test_getvar) ... skipped 'need _testcapi'
test_entry_frames_are_invisible_during_teardown (test.test_frame.TestIncompleteFrameAreInvisible.test_entry_frames_are_invisible_during_teardown) ... ERROR
test_issue95818 (test.test_frame.TestIncompleteFrameAreInvisible.test_issue95818) ... FAIL
test_sneaky_frame_object (test.test_frame.TestIncompleteFrameAreInvisible.test_sneaky_frame_object) ... skipped 'implementation detail specific to cpython'
test_sneaky_frame_object_teardown (test.test_frame.TestIncompleteFrameAreInvisible.test_sneaky_frame_object_teardown) ... skipped 'implementation detail specific to cpython'
======================================================================
ERROR: test_entry_frames_are_invisible_during_teardown (test.test_frame.TestIncompleteFrameAreInvisible.test_entry_frames_are_invisible_during_teardown)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_frame.py", line 393, in test_entry_frames_are_invisible_during_teardown
self.assertIs(catcher.unraisable.exc_type, TypeError)
^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'exc_type'
======================================================================
FAIL: test_issue95818 (test.test_frame.TestIncompleteFrameAreInvisible.test_issue95818)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_frame.py", line 270, in test_issue95818
assert_python_ok("-c", code)
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/support/script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/support/script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
^^^^
File "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/support/script_helper.py", line 76, in fail
raise AssertionError("Process return code is %d\n"
AssertionError: Process return code is 1
command line: ['/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/pypy/goal/pypy3.12-c', '-X', 'faulthandler', '-I', '-c', '\nimport gc\n\ngc.set_threshold(1,1,1)\nclass GCHello:\n def __del__(self):\n print("Destroyed from gc")\n\ndef gen():\n yield\n\nfd = open(\'/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/build/lib-python/3/test/test_frame.py\')\nl = [fd, GCHello()]\nl.append(l)\ndel fd\ndel l\ngen()\n']
stdout:
---
---
stderr:
---
Traceback (most recent call last):
File "<string>", line 4, in <module>
AttributeError: module 'gc' has no attribute 'set_threshold'
---
----------------------------------------------------------------------
Ran 20 tests in 0.097s
FAILED (failures=1, errors=1, skipped=7)
0:00:00 load avg: 5.38 [1/1/1] test_frame failed (1 error, 1 failure)
== Tests result: FAILURE ==
1 test failed:
test_frame
Total duration: 172 ms
Total tests: run=20 failures=1 skipped=7
Total test files: run=1/1 failed=1
Result: FAILURE
test test_frame failed
builder: pypy-c-jit-macos-arm64 build #1306+
test: lib-python/3/test/test_frame.py::unmodified