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

Function test_non_printable

tests/test_cells.py:250–254  ·  view source on GitHub ↗

Non printable characters should report a width of 0.

()

Source from the content-addressed store, hash-verified

248
249
250def test_non_printable():
251 """Non printable characters should report a width of 0."""
252 for ordinal in range(31):
253 character = chr(ordinal)
254 assert cell_len(character) == 0

Callers

nothing calls this directly

Calls 1

cell_lenFunction · 0.90

Tested by

no test coverage detected