MCPcopy Index your code
hub / github.com/RustPython/RustPython / setUp

Method setUp

Lib/test/test_importlib/metadata/fixtures.py:74–78  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

72
73class SiteBuilder(SiteDir):
74 def setUp(self):
75 super().setUp()
76 for cls in self.__class__.mro():
77 with contextlib.suppress(AttributeError):
78 build_files(cls.files, prefix=self.site_dir)
79
80
81class DistInfoPkg(OnSysPath, SiteBuilder):

Callers

nothing calls this directly

Calls 3

superClass · 0.85
setUpMethod · 0.45
mroMethod · 0.45

Tested by

no test coverage detected