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

Method tearDown

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

Source from the content-addressed store, hash-verified

100 os.environ.pop(k, None)
101
102 def tearDown(self):
103 for k, v in self._prev_env.items():
104 if v is None:
105 os.environ.pop(k, None)
106 else:
107 os.environ[k] = v
108
109 def test_default_uses_xdg_or_home(self):
110 cache = _bootstrap._cache_root()

Callers

nothing calls this directly

Calls 1

popMethod · 0.80

Tested by

no test coverage detected