MCPcopy Create free account
hub / github.com/python/cpython / setUp

Method setUp

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

Source from the content-addressed store, hash-verified

64
65class SiteBuilder(SiteDir):
66 def setUp(self):
67 super().setUp()
68 for cls in self.__class__.mro():
69 with contextlib.suppress(AttributeError):
70 build_files(cls.files, prefix=self.site_dir)
71
72
73class 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