()
| 147 | |
| 148 | |
| 149 | def test_stylize_before(): |
| 150 | text = Text("Hello, World!") |
| 151 | text.stylize("bold", 0, 5) |
| 152 | text.stylize_before("italic", 2, 7) |
| 153 | assert text._spans == [Span(2, 7, "italic"), Span(0, 5, "bold")] |
| 154 | |
| 155 | |
| 156 | def test_stylize_negative_index(): |
nothing calls this directly
no test coverage detected