MCPcopy Index your code
hub / github.com/python/cpython / setUp

Method setUp

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

Source from the content-addressed store, hash-verified

57 sys.path.remove(str(dir))
58
59 def setUp(self):
60 super().setUp()
61 self.fixtures.enter_context(self.add_sys_path(self.site_dir))
62 self.fixtures.enter_context(import_helper.isolated_modules())
63
64
65class SiteBuilder(SiteDir):

Callers

nothing calls this directly

Calls 4

add_sys_pathMethod · 0.95
superClass · 0.85
enter_contextMethod · 0.80
setUpMethod · 0.45

Tested by

no test coverage detected