(func)
| 1460 | |
| 1461 | |
| 1462 | def _pretty_fixture_path(func) -> str: |
| 1463 | cwd = Path.cwd() |
| 1464 | loc = Path(getlocation(func, str(cwd))) |
| 1465 | prefix = Path("...", "_pytest") |
| 1466 | try: |
| 1467 | return str(prefix / loc.relative_to(_PYTEST_DIR)) |
| 1468 | except ValueError: |
| 1469 | return bestrelpath(cwd, loc) |
| 1470 | |
| 1471 | |
| 1472 | def show_fixtures_per_test(config): |
no test coverage detected