MCPcopy Index your code
hub / github.com/RustPython/RustPython / _clean

Method _clean

Lib/test/test_import/__init__.py:1610–1613  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1608 # Test the various PEP 3147/488-related behaviors.
1609
1610 def _clean(self):
1611 forget(TESTFN)
1612 rmtree('__pycache__')
1613 unlink(self.source)
1614
1615 def setUp(self):
1616 self.source = TESTFN + '.py'

Callers 2

setUpMethod · 0.95
tearDownMethod · 0.95

Calls 3

forgetFunction · 0.90
rmtreeFunction · 0.90
unlinkFunction · 0.85

Tested by

no test coverage detected