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

Function test_debug_memory_pool_trap

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

Source from the content-addressed store, hash-verified

225
226@pytest.mark.parametrize('pool_factory', supported_factories())
227def test_debug_memory_pool_trap(pool_factory):
228 res = run_debug_memory_pool(pool_factory.__name__, "trap")
229 if os.name == "posix":
230 assert res.returncode == -signal.SIGTRAP
231 else:
232 assert res.returncode != 0
233 assert "Wrong size on deallocation" in res.stderr
234
235
236@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