(self, capsys: pytest.CaptureFixture[str])
| 164 | assert "\033" not in out |
| 165 | |
| 166 | def test_print_error_plain(self, capsys: pytest.CaptureFixture[str]) -> None: |
| 167 | print_error("bad", "E001") |
| 168 | err = capsys.readouterr().err |
| 169 | assert "Error: bad" in err |
| 170 | assert "Code: E001" in err |
| 171 | assert "\033" not in err |
| 172 | |
| 173 | def test_print_warning_plain(self, capsys: pytest.CaptureFixture[str]) -> None: |
| 174 | print_warning("caution") |
nothing calls this directly
no test coverage detected