Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
57
def
_remove_ansi_escape_sequences(text: str) -> str:
58
return
_ANSI_ESCAPE_SEQ.sub(
""
, text)
59
60
61
class
DatetimeFormatter(logging.Formatter):
Callers
2
format
Method · 0.85
text
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected