lib-python/3/test/test_frame.py::unmodified
== PyPy 3.12.13 (421004c42b8a, Aug 21 2026, 05:17:54) [PyPy 8.0.0-alpha0 with MSC v.1941 64 bit (AMD64)]
== Windows-10-10.0.19045-SP0 little-endian
== Python build: release with_assert
== cwd: D:\SystemTemp\pytest\test_python_worker_11224æ
== CPU count: 2
== encodings: locale=ascii FS=utf-8
== resources (3): curses,gui,network
Using random seed: 752238945
0:00:00 Run 1 test sequentially in a single process
0:00:00 [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) ... FAIL
test_frame_fback_api (test.test_frame.TestCAPI.test_frame_fback_api)
Test that accessing `f_back` does not cause a segmentation fault on ... ok
test_frame_get_generator (test.test_frame.TestCAPI.test_frame_get_generator) ... ok
test_frame_getters (test.test_frame.TestCAPI.test_frame_getters) ... ok
test_getvar (test.test_frame.TestCAPI.test_getvar) ... ok
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 "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\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_repr (test.test_frame.ReprTest.test_repr)
----------------------------------------------------------------------
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_frame.py", line 238, in test_repr
self.assertRegex(repr(f_this),
^^^^^^^^^^^
AssertionError: Regex didn't match: "^<frame at 0x[0-9a-fA-F]+, file 'd:\\\\\\\\pypy_stuff\\\\\\\\buildbot64\\\\\\\\slave\\\\\\\\pypy\\-c\\-jit\\-win\\-x86\\-64\\\\\\\\build\\\\\\\\lib\\-python\\\\\\\\3\\\\\\\\test\\\\\\\\test_frame\\.py', line 238, code test_repr>$" not found in "<frame at 0x00000244e7f68700, file 'd:\\pypy_stuff\\buildbot64\\slave\\pypy-c-jit-win-x86-64\\build\\lib-python\\3\\test\\test_frame.py', line 238, code test_repr>"
======================================================================
FAIL: test_issue95818 (test.test_frame.TestIncompleteFrameAreInvisible.test_issue95818)
----------------------------------------------------------------------
Traceback (most recent call last):
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_frame.py", line 270, in test_issue95818
assert_python_ok("-c", code)
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\script_helper.py", line 166, in assert_python_ok
return _assert_python(True, *args, **env_vars)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\support\script_helper.py", line 151, in _assert_python
res.fail(cmd_line)
^^^^
File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\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: ['d:\\pypy_stuff\\buildbot64\\slave\\pypy-c-jit-win-x86-64\\build\\pypy\\goal\\pypy3.12-c.exe', '-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(\'d:\\\\pypy_stuff\\\\buildbot64\\\\slave\\\\pypy-c-jit-win-x86-64\\\\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.202s
FAILED (failures=2, errors=1, skipped=3)
0:00:00 [1/1/1] test_frame failed (1 error, 2 failures)
== Tests result: FAILURE ==
1 test failed:
test_frame
Total duration: 479 ms
Total tests: run=20 failures=2 skipped=3
Total test files: run=1/1 failed=1
Result: FAILURE
test test_frame failed
builder: pypy-c-jit-win-x86-64 build #2509+
test: lib-python/3/test/test_frame.py::unmodified