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

Function test_rule_cjk

tests/test_rule.py:50–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48
49
50def test_rule_cjk():
51 console = Console(
52 width=16,
53 file=io.StringIO(),
54 force_terminal=True,
55 color_system=None,
56 legacy_windows=False,
57 _environ={},
58 )
59 console.rule("欢迎!")
60 expected = "──── 欢迎! ────\n"
61 assert console.file.getvalue() == expected
62
63
64@pytest.mark.parametrize(

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…