MCPcopy Index your code
hub / github.com/python/cpython / tearDown

Method tearDown

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

Source from the content-addressed store, hash-verified

1668 importlib.invalidate_caches()
1669
1670 def tearDown(self):
1671 assert sys.path[0] == os.curdir, 'Unexpected sys.path[0]'
1672 del sys.path[0]
1673 self._clean()
1674
1675 @skip_if_dont_write_bytecode
1676 def test_import_pyc_path(self):

Callers

nothing calls this directly

Calls 1

_cleanMethod · 0.95

Tested by

no test coverage detected