Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
31
def
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
37
def
test_rule_align():
Callers
nothing calls this directly
Calls
2
rule
Method · 0.95
Console
Class · 0.90
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…