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

Function test_wrap_cjk

tests/test_text.py:486–492  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

484
485
486def test_wrap_cjk():
487 text = Text("わさび")
488 lines = text.wrap(Console(), 4)
489 assert lines._lines == [
490 Text("わさ"),
491 Text("び"),
492 ]
493
494
495def test_wrap_cjk_width_mid_character():

Callers

nothing calls this directly

Calls 3

wrapMethod · 0.95
TextClass · 0.90
ConsoleClass · 0.90

Tested by

no test coverage detected