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

Function _cuda_is_available

python/pyarrow/conftest.py:213–218  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

211# Doctest should ignore files for the modules that are not built
212def pytest_ignore_collect(collection_path, config):
213 def _cuda_is_available():
214 try:
215 import pyarrow.cuda # noqa
216 return True
217 except ImportError:
218 return False
219
220 if config.option.doctestmodules:
221 # don't try to run doctests on the /tests directory

Callers 1

pytest_ignore_collectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected