()
| 73 | @pytest.mark.skipif(not m.defined_PYBIND11_HAS_STD_BARRIER, reason="no <barrier>") |
| 74 | @pytest.mark.skipif(env.sys_is_gil_enabled(), reason="Deadlock with the GIL") |
| 75 | def test_pythread_state_clear_destructor(): |
| 76 | class Foo: |
| 77 | def __del__(self): |
| 78 | m.acquire_gil() |
| 79 | |
| 80 | m.test_pythread_state_clear_destructor(Foo) |
nothing calls this directly
no outgoing calls
no test coverage detected