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

Function test_markup_error

tests/test_markup.py:149–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147
148
149def test_markup_error():
150 with pytest.raises(MarkupError):
151 assert render("foo[/]")
152 with pytest.raises(MarkupError):
153 assert render("foo[/bar]")
154 with pytest.raises(MarkupError):
155 assert render("[foo]hello[/bar]")
156
157
158def test_markup_escape():

Callers

nothing calls this directly

Calls 1

renderFunction · 0.90

Tested by

no test coverage detected