Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ setUp
Method
setUp
Lib/test/test_pkgutil.py:380–381 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
378
submodule_search_locations=[])
379
380
def
setUp(self):
381
sys.meta_path.insert(0, self.MyTestImporter())
382
383
def
tearDown(self):
384
del sys.meta_path[0]
Callers
nothing calls this directly
Calls
1
insert
Method · 0.45
Tested by
no test coverage detected