Skip to content

Commit 81d732d

Browse files
committed
REMOVE BEFORE MERGE: ignore errors for rmtree
1 parent fca3c00 commit 81d732d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/t/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,9 @@ def prepare_fixture_dir(
953953
the tarball. This is to work better with case insensitive file systems.
954954
"""
955955
tempdir = Path(tempfile.mkdtemp(prefix="bash-completion-fixture-dir"))
956-
request.addfinalizer(lambda: shutil.rmtree(str(tempdir)))
956+
request.addfinalizer(
957+
lambda: shutil.rmtree(str(tempdir), ignore_errors=True)
958+
)
957959

958960
old_cwd = os.getcwd()
959961
try:

0 commit comments

Comments
 (0)