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

Function test_default_allocated_bytes

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

Source from the content-addressed store, hash-verified

80
81
82def test_default_allocated_bytes():
83 pool = pa.default_memory_pool()
84 with allocate_bytes(pool, 1024):
85 check_allocated_bytes(pool)
86 assert pool.bytes_allocated() == pa.total_allocated_bytes()
87
88
89def test_proxy_memory_pool():

Callers

nothing calls this directly

Calls 3

allocate_bytesFunction · 0.85
check_allocated_bytesFunction · 0.85
bytes_allocatedMethod · 0.45

Tested by

no test coverage detected