()
| 211 | # Doctest should ignore files for the modules that are not built |
| 212 | def 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 |
no outgoing calls
no test coverage detected