()
| 144 | |
| 145 | |
| 146 | def test_rich_pretty_angular() -> None: |
| 147 | console = Console() |
| 148 | with console.capture() as capture: |
| 149 | console.print(Bar("hello", bar=3)) |
| 150 | result = capture.get() |
| 151 | expected = "<Bar 'hello' 'hello' bar=3 egg=1>\n" |
| 152 | assert result == expected |