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

Function test_debug_memory_pool_abort

python/pyarrow/tests/test_memory.py:217–223  ·  view source on GitHub ↗
(pool_factory)

Source from the content-addressed store, hash-verified

215
216@pytest.mark.parametrize('pool_factory', supported_factories())
217def test_debug_memory_pool_abort(pool_factory):
218 res = run_debug_memory_pool(pool_factory.__name__, "abort")
219 if os.name == "posix":
220 assert res.returncode == -signal.SIGABRT
221 else:
222 assert res.returncode != 0
223 assert "Wrong size on deallocation" in res.stderr
224
225
226@pytest.mark.parametrize('pool_factory', supported_factories())

Callers

nothing calls this directly

Calls 1

run_debug_memory_poolFunction · 0.85

Tested by

no test coverage detected