From 21d6f47ac953473e513e471bd47aa94f15125266 Mon Sep 17 00:00:00 2001 From: Philip Hackstock <20710924+phackstock@users.noreply.github.com> Date: Mon, 22 Jan 2024 16:53:35 +0100 Subject: [PATCH] Get explicit removing errors --- tests/conftest.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 360638d8..ecc90ce4 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -61,6 +61,4 @@ def clean_up_external_repos(repos): # clean up the external repo for repository in repos.values(): if repository.local_path.exists(): - shutil.rmtree( - repository.local_path, onerror=remove_readonly, ignore_errors=True - ) + shutil.rmtree(repository.local_path, onerror=remove_readonly)