()
| 179 | |
| 180 | |
| 181 | def test_style_stack(): |
| 182 | stack = StyleStack(Style(color="red")) |
| 183 | repr(stack) |
| 184 | assert stack.current == Style(color="red") |
| 185 | stack.push(Style(bold=True)) |
| 186 | assert stack.current == Style(color="red", bold=True) |
| 187 | stack.pop() |
| 188 | assert stack.current == Style(color="red") |
| 189 | |
| 190 | |
| 191 | def test_pick_first(): |
nothing calls this directly
no test coverage detected