Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _clean
Method
_clean
Lib/test/test_import/__init__.py:1657–1660 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1655
# Test the various PEP 3147/488-related behaviors.
1656
1657
def
_clean(self):
1658
forget(TESTFN)
1659
rmtree(
'__pycache__'
)
1660
unlink(self.source)
1661
1662
def
setUp(self):
1663
self.source = TESTFN +
'.py'
Callers
2
setUp
Method · 0.95
tearDown
Method · 0.95
Calls
3
forget
Function · 0.90
rmtree
Function · 0.90
unlink
Function · 0.85
Tested by
no test coverage detected