()
| 101 | |
| 102 | @pytest.mark.skipif("env.GRAALPY", reason="Cannot reliably trigger GC") |
| 103 | def test_cpp_callable_cleanup(): |
| 104 | alive_counts = m.test_cpp_callable_cleanup() |
| 105 | assert alive_counts == [0, 1, 2, 1, 2, 1, 0] |
| 106 | |
| 107 | |
| 108 | def test_cpp_function_roundtrip(): |
nothing calls this directly
no outgoing calls
no test coverage detected