MCPcopy Create free account
hub / github.com/python/mypy / build_helper

Function build_helper

mypy/test/teststubtest.py:172–177  ·  view source on GitHub ↗
(source: str)

Source from the content-addressed store, hash-verified

170
171
172def build_helper(source: str) -> build.BuildResult:
173 return build.build(
174 sources=[BuildSource("main.pyi", None, textwrap.dedent(source))],
175 options=Options(),
176 alt_lib_path=test_temp_dir,
177 )
178
179
180def run_stubtest_with_stderr(

Callers 1

Calls 4

BuildSourceClass · 0.90
OptionsClass · 0.90
buildMethod · 0.45
dedentMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…