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

Method collect

mypy/test/data.py:771–776  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

769 return collector
770
771 def collect(self) -> Iterator[DataDrivenTestCase]:
772 yield from split_test_cases(
773 parent=self,
774 suite=self.parent.obj,
775 file=os.path.join(self.parent.obj.data_prefix, self.name),
776 )
777
778 def setup(self) -> None:
779 super().setup()

Callers 2

print_memory_profileFunction · 0.45
load_statesFunction · 0.45

Calls 2

split_test_casesFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected