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

Method setup

mypy/test/testmerge.py:42–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

40 files = ["merge.test"]
41
42 def setup(self) -> None:
43 super().setup()
44 self.str_conv = StrConv(show_ids=True, options=Options())
45 assert self.str_conv.id_mapper is not None
46 self.id_mapper: IdMapper = self.str_conv.id_mapper
47 self.type_str_conv = TypeStrVisitor(self.id_mapper, options=Options())
48
49 def run_case(self, testcase: DataDrivenTestCase) -> None:
50 name = testcase.name

Callers

nothing calls this directly

Calls 3

StrConvClass · 0.90
OptionsClass · 0.90
TypeStrVisitorClass · 0.90

Tested by

no test coverage detected