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

Function _case_fail

mypy/test/data.py:81–82  ·  view source on GitHub ↗
(msg: str)

Source from the content-addressed store, hash-verified

79 test_modules: list[str] = [] # Modules which are deemed "test" (vs "fixture")
80
81 def _case_fail(msg: str) -> NoReturn:
82 pytest.fail(f"{case.file}:{case.line}: {msg}", pytrace=False)
83
84 # Process the parsed items. Each item has a header of form [id args],
85 # optionally followed by lines of text.

Callers 1

parse_test_caseFunction · 0.85

Calls 1

failMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…