()
| 43 | |
| 44 | |
| 45 | def test_console_width() -> None: |
| 46 | console = Console(file=io.StringIO(), width=50, legacy_windows=False) |
| 47 | panel = Panel("Hello, World", expand=False) |
| 48 | min_width, max_width = panel.__rich_measure__(console, console.options) |
| 49 | assert min_width == 16 |
| 50 | assert max_width == 16 |
| 51 | |
| 52 | |
| 53 | def test_fixed_width() -> None: |
nothing calls this directly
no test coverage detected