(report: pytest.TestReport)
| 268 | |
| 269 | |
| 270 | def pytest_runtest_logreport(report: pytest.TestReport) -> None: |
| 271 | if report.failed and report.when in ("setup", "call"): |
| 272 | if report.nodeid not in _failed_node_ids: |
| 273 | _failed_node_ids.append(report.nodeid) |
| 274 | |
| 275 | |
| 276 | def pytest_terminal_summary( |