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

Method setUp

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

Source from the content-addressed store, hash-verified

65 sys.path.remove(str(dir))
66
67 def setUp(self):
68 super().setUp()
69 self.fixtures.enter_context(self.add_sys_path(self.site_dir))
70 self.fixtures.enter_context(import_helper.isolated_modules())
71
72
73class 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