MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_format_trimmed

Function test_format_trimmed

testing/test_terminal.py:2482–2486  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2480
2481
2482def test_format_trimmed() -> None:
2483 msg = "unconditional skip"
2484
2485 assert _format_trimmed(" ({}) ", msg, len(msg) + 4) == " (unconditional skip) "
2486 assert _format_trimmed(" ({}) ", msg, len(msg) + 3) == " (unconditional ...) "

Callers

nothing calls this directly

Calls 1

_format_trimmedFunction · 0.90

Tested by

no test coverage detected