(capture, msg)
| 445 | |
| 446 | @pytest.mark.skipif("env.GRAALPY", reason="Cannot reliably trigger GC") |
| 447 | def test_reallocation_f(capture, msg): |
| 448 | with capture: |
| 449 | create_and_destroy(4, 0.5) |
| 450 | assert msg(capture) == strip_comments( |
| 451 | """ |
| 452 | noisy new # preallocation needed before invoking placement-new overload |
| 453 | noisy delete # deallocation of preallocated storage |
| 454 | noisy new # Factory pointer allocation |
| 455 | NoisyAlloc(int 4) # factory pointer construction |
| 456 | --- |
| 457 | ~NoisyAlloc() # Destructor |
| 458 | noisy delete # operator delete |
| 459 | """ |
| 460 | ) |
| 461 | |
| 462 | |
| 463 | @pytest.mark.skipif("env.GRAALPY", reason="Cannot reliably trigger GC") |
nothing calls this directly
no test coverage detected