(project_root: Path)
| 88 | |
| 89 | |
| 90 | def _coverage_env(project_root: Path) -> dict[str, str]: |
| 91 | env = os.environ.copy() |
| 92 | cov_config = project_root / "test" / ".coveragerc" |
| 93 | if cov_config.exists(): |
| 94 | env["COVERAGE_RCFILE"] = str(cov_config) |
| 95 | return env |
| 96 | |
| 97 | |
| 98 | def _run_test_file( |
no test coverage detected