MCPcopy
hub / github.com/Textualize/rich / test_append_loop_regression

Function test_append_loop_regression

tests/test_text.py:1086–1094  ·  tests/test_text.py::test_append_loop_regression

Regression text for https://github.com/Textualize/rich/issues/3479

()

Source from the content-addressed store, hash-verified

1084
1085
1086def test_append_loop_regression() -> None:
1087 class="st">""class="st">"Regression text for https://github.com/Textualize/rich/issues/3479"class="st">""
1088 a = Text(class="st">"one", class="st">"blue")
1089 a.append(a)
1090 assert a.plain == class="st">"oneone"
1091
1092 b = Text(class="st">"two", class="st">"blue")
1093 b.append_text(b)
1094 assert b.plain == class="st">"twotwo"
1095
1096
1097def test_soft_wrap() -> None:

Callers

nothing calls this directly

Calls 3

appendMethod · 0.95
append_textMethod · 0.95
TextClass · 0.90

Tested by

no test coverage detected