Skip to content

Commit 6b86f93

Browse files
committed
Clean up integration test working directory
1 parent d564b9e commit 6b86f93

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import os
2626
import pathlib
2727
import platform
28+
import shutil
2829
import typing
2930

3031
import invoke.context
@@ -123,3 +124,4 @@ def working_dir(tmpdir_factory) -> str:
123124
"""
124125
work_dir = tmpdir_factory.mktemp(basename="TestWorkingDir")
125126
yield os.path.realpath(work_dir)
127+
shutil.rmtree(work_dir, ignore_errors=True)

0 commit comments

Comments
 (0)