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

Method tearDown

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

Source from the content-addressed store, hash-verified

1621 importlib.invalidate_caches()
1622
1623 def tearDown(self):
1624 assert sys.path[0] == os.curdir, 'Unexpected sys.path[0]'
1625 del sys.path[0]
1626 self._clean()
1627
1628 @skip_if_dont_write_bytecode
1629 def test_import_pyc_path(self):

Callers

nothing calls this directly

Calls 1

_cleanMethod · 0.95

Tested by

no test coverage detected