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

Function test_clear_no_terminal

tests/test_console.py:345–349  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

343
344
345def test_clear_no_terminal() -> None:
346 console = Console(file=io.StringIO())
347 console.clear()
348 console.clear(home=False)
349 assert console.file.getvalue() == ""
350
351
352def test_get_style() -> None:

Callers

nothing calls this directly

Calls 2

clearMethod · 0.95
ConsoleClass · 0.90

Tested by

no test coverage detected