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

Source from the content-addressed store, hash-verified

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