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:216–222  ·  view source on GitHub ↗
(pool_factory)

Source from the content-addressed store, hash-verified

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