()
| 4 | |
| 5 | |
| 6 | def test_width_of_none(): |
| 7 | console = Console() |
| 8 | constrain = Constrain(Text("foo"), width=None) |
| 9 | min_width, max_width = constrain.__rich_measure__( |
| 10 | console, console.options.update_width(80) |
| 11 | ) |
| 12 | assert min_width == 3 |
| 13 | assert max_width == 3 |
nothing calls this directly
no test coverage detected