MCPcopy Index your code
hub / github.com/python/mypy / normalize_messages

Function normalize_messages

mypy/test/testfinegrained.py:374–375  ·  view source on GitHub ↗
(messages: list[str])

Source from the content-addressed store, hash-verified

372
373
374def normalize_messages(messages: list[str]) -> list[str]:
375 return [re.sub("^tmp" + re.escape(os.sep), "", message) for message in messages]
376
377
378class TestMessageSorting(unittest.TestCase):

Callers 3

run_caseMethod · 0.85
perform_stepMethod · 0.85
maybe_suggestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…