MCPcopy Index your code
hub / github.com/AI45Lab/Code / tearDown

Method tearDown

sdk/python-bootstrap/tests/test_bootstrap.py:152–158  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

150 _bootstrap._LOADED = False
151
152 def tearDown(self):
153 if self._prev_cache is None:
154 os.environ.pop("A3S_CODE_CACHE_DIR", None)
155 else:
156 os.environ["A3S_CODE_CACHE_DIR"] = self._prev_cache
157 shutil.rmtree(self._tmp, ignore_errors=True)
158 _bootstrap._LOADED = False
159
160 def test_downloads_extracts_and_registers_module(self):
161 wheel_bytes = _make_wheel()

Callers

nothing calls this directly

Calls 1

popMethod · 0.80

Tested by

no test coverage detected