()
| 360 | |
| 361 | |
| 362 | def test_get_style_error() -> None: |
| 363 | console = Console() |
| 364 | with pytest.raises(errors.MissingStyle): |
| 365 | console.get_style("nosuchstyle") |
| 366 | with pytest.raises(errors.MissingStyle): |
| 367 | console.get_style("foo bar") |
| 368 | |
| 369 | |
| 370 | def test_render_error() -> None: |