Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/python/cpython
/ setUp
Method
setUp
Lib/test/test_importlib/metadata/fixtures.py:44–46 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
42
43
class
SiteDir(Fixtures):
44
def
setUp(self):
45
super().setUp()
46
self.site_dir = self.fixtures.enter_context(tmp_path())
47
48
49
class
OnSysPath(Fixtures):
Callers
2
setUp
Method · 0.45
setUp
Method · 0.45
Calls
3
super
Class · 0.85
tmp_path
Function · 0.85
enter_context
Method · 0.80
Tested by
no test coverage detected