(capture, msg)
| 398 | |
| 399 | @pytest.mark.skipif("env.GRAALPY", reason="Cannot reliably trigger GC") |
| 400 | def test_reallocation_c(capture, msg): |
| 401 | with capture: |
| 402 | create_and_destroy(2, 3) |
| 403 | assert msg(capture) == strip_comments( |
| 404 | """ |
| 405 | noisy new # pointer factory calling "new", allocation |
| 406 | NoisyAlloc(int 2) # constructor |
| 407 | --- |
| 408 | ~NoisyAlloc() # Destructor |
| 409 | noisy delete # operator delete |
| 410 | """ |
| 411 | ) |
| 412 | |
| 413 | |
| 414 | @pytest.mark.skipif("env.GRAALPY", reason="Cannot reliably trigger GC") |
nothing calls this directly
no test coverage detected