(capture, msg)
| 462 | |
| 463 | @pytest.mark.skipif("env.GRAALPY", reason="Cannot reliably trigger GC") |
| 464 | def test_reallocation_g(capture, msg): |
| 465 | with capture: |
| 466 | create_and_destroy(5, "hi") |
| 467 | assert msg(capture) == strip_comments( |
| 468 | """ |
| 469 | noisy new # preallocation needed before invoking first placement new |
| 470 | noisy delete # delete before considering new-style constructor |
| 471 | noisy new # preallocation for second placement new |
| 472 | noisy placement new # Placement new in the second placement new overload |
| 473 | NoisyAlloc(int 5) # construction |
| 474 | --- |
| 475 | ~NoisyAlloc() # Destructor |
| 476 | noisy delete # operator delete |
| 477 | """ |
| 478 | ) |
| 479 | |
| 480 | |
| 481 | def test_invalid_self(): |
nothing calls this directly
no test coverage detected