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

Function test_proxy_memory_pool

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

check_allocated_bytesFunction · 0.85

Tested by

no test coverage detected