Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ setUp
Method
setUp
Lib/test/test_import/__init__.py:356–358 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
354
class
ImportTests(unittest.TestCase):
355
356
def
setUp(self):
357
remove_files(TESTFN)
358
importlib.invalidate_caches()
359
360
def
tearDown(self):
361
unload(TESTFN)
Callers
nothing calls this directly
Calls
2
remove_files
Function · 0.85
invalidate_caches
Method · 0.45
Tested by
no test coverage detected