(base_app, capsys)
| 3244 | |
| 3245 | @with_ansi_style(ru.AllowStyle.NEVER) |
| 3246 | def test_pexcept_no_style(base_app, capsys) -> None: |
| 3247 | msg = Exception("testing...") |
| 3248 | |
| 3249 | base_app.pexcept(msg) |
| 3250 | _out, err = capsys.readouterr() |
| 3251 | assert err.startswith("Exception: testing...") |
| 3252 | |
| 3253 | |
| 3254 | @pytest.mark.parametrize("chop", [True, False]) |
nothing calls this directly
no test coverage detected
searching dependent graphs…