Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/test_utils/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ def onerror(func, path, exc_info): # pylint: disable=unused-argument
except Exception: # pylint: disable=broad-exception-caught
pass # Last resort: ignore if still fails

shutil.rmtree(dir_path, onerror=onerror)
shutil.rmtree( # pylint: disable=deprecated-argument
dir_path, onerror=onerror
)


@pytest.fixture
Expand Down