()
| 51 | |
| 52 | |
| 53 | def test_fixed_width() -> None: |
| 54 | console = Console(file=io.StringIO(), width=50, legacy_windows=False) |
| 55 | panel = Panel("Hello World", width=20) |
| 56 | min_width, max_width = panel.__rich_measure__(console, console.options) |
| 57 | assert min_width == 20 |
| 58 | assert max_width == 20 |
| 59 | |
| 60 | |
| 61 | def test_render_size() -> None: |
nothing calls this directly
no test coverage detected