Skip to content

Commit 59f0894

Browse files
committed
Clean up integration test working directory
1 parent bf9cb89 commit 59f0894

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_all.py

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import os
1414
import pathlib
1515
import platform
16+
import shutil
1617
import typing
1718

1819
import dateutil.parser
@@ -307,3 +308,4 @@ def working_dir(tmpdir_factory) -> str:
307308
"""
308309
work_dir = tmpdir_factory.mktemp(basename="IntegrationTestWorkingDir")
309310
yield os.path.realpath(work_dir)
311+
shutil.rmtree(work_dir, ignore_errors=True)

0 commit comments

Comments
 (0)