(capfd)
| 96 | |
| 97 | |
| 98 | def test_logging_memory_pool(capfd): |
| 99 | pool = pa.logging_memory_pool(pa.default_memory_pool()) |
| 100 | check_allocated_bytes(pool) |
| 101 | out, err = capfd.readouterr() |
| 102 | assert err == "" |
| 103 | assert out.count("Allocate:") > 0 |
| 104 | assert out.count("Allocate:") == out.count("Free:") |
| 105 | |
| 106 | |
| 107 | def test_set_memory_pool(): |
nothing calls this directly
no test coverage detected