MCPcopy
hub / github.com/pytest-dev/pytest / _remove_ansi_escape_sequences

Function _remove_ansi_escape_sequences

src/_pytest/logging.py:57–58  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

55
56
57def _remove_ansi_escape_sequences(text: str) -> str:
58 return _ANSI_ESCAPE_SEQ.sub("", text)
59
60
61class DatetimeFormatter(logging.Formatter):

Callers 2

formatMethod · 0.85
textMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected