Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ tearDown
Method
tearDown
Lib/test/test_import/__init__.py:360–361 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
358
importlib.invalidate_caches()
359
360
def
tearDown(self):
361
unload(TESTFN)
362
363
def
test_import_raises_ModuleNotFoundError(self):
364
with
self.assertRaises(ModuleNotFoundError):
Callers
nothing calls this directly
Calls
1
unload
Function · 0.90
Tested by
no test coverage detected