Skip to content

Commit b95731c

Browse files
committed
REMOVE BEFORE MERGE: ignore errors for rmtree
1 parent cb917ea commit b95731c

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
@@ -951,7 +951,9 @@ def prepare_fixture_dir(
951951
the tarball. This is to work better with case insensitive file systems.
952952
"""
953953
tempdir = Path(tempfile.mkdtemp(prefix="bash-completion-fixture-dir"))
954-
request.addfinalizer(lambda: shutil.rmtree(str(tempdir)))
954+
request.addfinalizer(
955+
lambda: shutil.rmtree(str(tempdir), ignore_errors=True)
956+
)
955957

956958
old_cwd = os.getcwd()
957959
try:

0 commit comments

Comments
 (0)