Regression text for https://github.com/Textualize/rich/issues/3479
()
| 1084 | |
| 1085 | |
| 1086 | def test_append_loop_regression() -> None: |
| 1087 | """Regression text for https://github.com/Textualize/rich/issues/3479""" |
| 1088 | a = Text("one", "blue") |
| 1089 | a.append(a) |
| 1090 | assert a.plain == "oneone" |
| 1091 | |
| 1092 | b = Text("two", "blue") |
| 1093 | b.append_text(b) |
| 1094 | assert b.plain == "twotwo" |
| 1095 | |
| 1096 | |
| 1097 | def test_soft_wrap() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…