MCPcopy Create free account
hub / github.com/FastLED/FastLED / tearDown

Method tearDown

ci/tests/test_cache_lock.py:250–257  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

248 os.environ["FASTLED_LOCK_DB_PATH"] = str(self.db_path)
249
250 def tearDown(self) -> None:
251 import shutil
252
253 os.environ.pop("FASTLED_LOCK_DB_PATH", None)
254 from ci.util.lock_database import _db_cache
255
256 _db_cache.clear()
257 shutil.rmtree(self.temp_dir, ignore_errors=True)
258
259 def test_nonexistent_artifact_not_locked(self) -> None:
260 """Nonexistent artifact should not be locked"""

Callers

nothing calls this directly

Calls 2

popMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected