()
| 502 | |
| 503 | @fixture |
| 504 | def _config_for_test() -> Generator[Config]: |
| 505 | from _pytest.config import get_config |
| 506 | |
| 507 | config = get_config() |
| 508 | yield config |
| 509 | config._ensure_unconfigure() # cleanup, e.g. capman closing tmpfiles. |
| 510 | |
| 511 | |
| 512 | # Regex to match the session duration string in the summary: "74.34s". |
nothing calls this directly
no test coverage detected