(capsys)
| 36 | |
| 37 | |
| 38 | async def test_repeat_error_on_stderr(capsys): |
| 39 | e = ErrorCheck(repeat_errors_on_stderr=True) |
| 40 | logging.error("wat") |
| 41 | with pytest.raises(SystemExit): |
| 42 | await e.shutdown_if_errored() |
| 43 | assert "Error logged during startup:\nwat" in capsys.readouterr().err |
nothing calls this directly
no test coverage detected
searching dependent graphs…