(invocation_dir: Path, func)
| 2179 | |
| 2180 | |
| 2181 | def _pretty_fixture_path(invocation_dir: Path, func) -> str: |
| 2182 | loc = Path(getlocation(func, invocation_dir)) |
| 2183 | prefix = Path("...", "_pytest") |
| 2184 | try: |
| 2185 | return str(prefix / loc.relative_to(_PYTEST_DIR)) |
| 2186 | except ValueError: |
| 2187 | return bestrelpath(invocation_dir, loc) |
| 2188 | |
| 2189 | |
| 2190 | def _get_fixtures_per_test(test: nodes.Item) -> Iterator[FixtureDef[object]]: |
no test coverage detected