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

Method format

testing/conftest.py:164–166  ·  view source on GitHub ↗

Straightforward replacement of color names to their ASCII codes.

(cls, lines: List[str])

Source from the content-addressed store, hash-verified

162
163 @classmethod
164 def format(cls, lines: List[str]) -> List[str]:
165 """Straightforward replacement of color names to their ASCII codes."""
166 return [line.format(**cls.COLORS) for line in lines]
167
168 @classmethod
169 def format_for_fnmatch(cls, lines: List[str]) -> List[str]:

Calls

no outgoing calls

Tested by

no test coverage detected