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

Function test_no_renderable

tests/test_measure.py:14–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13
14def test_no_renderable():
15 console = Console()
16 text = Text()
17
18 with pytest.raises(NotRenderableError):
19 Measurement.get(console, console.options, None)
20
21
22def test_measure_renderables():

Callers

nothing calls this directly

Calls 3

ConsoleClass · 0.90
TextClass · 0.90
getMethod · 0.45

Tested by

no test coverage detected