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

Function test_default_allocated_bytes

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

Source from the content-addressed store, hash-verified

79
80
81def test_default_allocated_bytes():
82 pool = pa.default_memory_pool()
83 with allocate_bytes(pool, 1024):
84 check_allocated_bytes(pool)
85 assert pool.bytes_allocated() == pa.total_allocated_bytes()
86
87
88def 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