Return the CPython test path for a test name, or None if missing.
(test_name: str, cpython_prefix: str)
| 163 | |
| 164 | |
| 165 | def _get_cpython_test_path(test_name: str, cpython_prefix: str) -> pathlib.Path | None: |
| 166 | """Return the CPython test path for a test name, or None if missing.""" |
| 167 | cpython_path = resolve_test_path(test_name, cpython_prefix, prefer="dir") |
| 168 | return cpython_path if cpython_path.exists() else None |
| 169 | |
| 170 | |
| 171 | def _get_local_test_path( |
no test coverage detected