MCPcopy Create free account
hub / github.com/apache/arrow / test_proxy_memory_pool

Function test_proxy_memory_pool

python/pyarrow/tests/test_memory.py:89–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87
88
89def test_proxy_memory_pool():
90 pool = pa.proxy_memory_pool(pa.default_memory_pool())
91 check_allocated_bytes(pool)
92 wr = weakref.ref(pool)
93 assert wr() is not None
94 del pool
95 assert wr() is None
96
97
98def test_logging_memory_pool(capfd):

Callers

nothing calls this directly

Calls 1

check_allocated_bytesFunction · 0.85

Tested by

no test coverage detected