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

Function test_rule_error

tests/test_rule.py:31–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29
30
31def test_rule_error():
32 console = Console(width=16, file=io.StringIO(), legacy_windows=False, _environ={})
33 with pytest.raises(ValueError):
34 console.rule("foo", align="foo")
35
36
37def test_rule_align():

Callers

nothing calls this directly

Calls 2

ruleMethod · 0.95
ConsoleClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…