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

Function test_render

tests/test_markup.py:95–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93
94
95def test_render():
96 result = render("[bold]FOO[/bold]")
97 assert str(result) == "FOO"
98 assert result.spans == [Span(0, 3, "bold")]
99
100
101def test_render_not_tags():

Callers

nothing calls this directly

Calls 2

renderFunction · 0.90
SpanClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…