(tmp_path: Path, source: str, name: str = "lib.rs")
| 29 | |
| 30 | |
| 31 | def _extract(tmp_path: Path, source: str, name: str = "lib.rs") -> dict: |
| 32 | path = tmp_path / name |
| 33 | path.write_text(source, encoding="utf-8") |
| 34 | return extract([path], cache_root=tmp_path, root=tmp_path, parallel=False) |
| 35 | |
| 36 | |
| 37 | def _sourced(result: dict, label: str) -> list[dict]: |
no test coverage detected