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

Function check

python/pyarrow/tests/test_memory.py:165–173  ·  view source on GitHub ↗
(factory, name, *, can_fail=False)

Source from the content-addressed store, hash-verified

163
164def test_memory_pool_factories():
165 def check(factory, name, *, can_fail=False):
166 if can_fail:
167 try:
168 pool = factory()
169 except NotImplementedError:
170 return
171 else:
172 pool = factory()
173 assert pool.backend_name == name
174
175 for backend_name in possible_backends:
176 check(backend_factory(backend_name), backend_name,

Callers 2

test_from_numpy_largeMethod · 0.70

Calls 1

factoryFunction · 0.85

Tested by

no test coverage detected