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

Function test_adjoint

tests/test_markup.py:131–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129
130
131def test_adjoint():
132 result = render("[red][blue]B[/blue]R[/red]")
133 print(repr(result))
134 assert result.spans == [Span(0, 2, "red"), Span(0, 1, "blue")]
135
136
137def test_render_close():

Callers

nothing calls this directly

Calls 3

renderFunction · 0.90
SpanClass · 0.90
printFunction · 0.50

Tested by

no test coverage detected