Skip to content

Commit 3985467

Browse files
authored
Merge pull request #14 from r-spiewak/feat/ignore-deprecated-3.12.4-arg
Add pylint ignore for arg deprecated in 3.12.4
2 parents 835aa21 + 5e7703e commit 3985467

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎tests/test_utils/conftest.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ def onerror(func, path, exc_info): # pylint: disable=unused-argument
3333
except Exception: # pylint: disable=broad-exception-caught
3434
pass # Last resort: ignore if still fails
3535

36-
shutil.rmtree(dir_path, onerror=onerror)
36+
shutil.rmtree( # pylint: disable=deprecated-argument
37+
dir_path, onerror=onerror
38+
)
3739

3840

3941
@pytest.fixture

0 commit comments

Comments
 (0)