diff --git a/umap/tests/conftest.py b/umap/tests/conftest.py index 3465994b..7e5e356c 100644 --- a/umap/tests/conftest.py +++ b/umap/tests/conftest.py @@ -24,11 +24,8 @@ def pytest_configure(config): settings.MEDIA_ROOT = TMP_ROOT -def pytest_unconfigure(config): - shutil.rmtree(TMP_ROOT, ignore_errors=True) - - def pytest_runtest_teardown(): + shutil.rmtree(TMP_ROOT, ignore_errors=True) cache.clear()