Skip to content

Commit 1e0b0b0

Browse files
committed
Add comment to explain finalizer
1 parent 84d9326 commit 1e0b0b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_examples.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ def _run_installer(
318318
options=options,
319319
)
320320
if request and ON_CI:
321+
# GitHub runners run out of disk space if installation directories are not cleaned up
321322
request.addfinalizer(lambda: shutil.rmtree(str(install_dir), ignore_errors=True))
322323
elif installer.suffix == ".pkg":
323324
if request and ON_CI:

0 commit comments

Comments
 (0)