void-packages/srcpkgs/pylint/patches/fix-tests.patch

14 lines
385 B
Diff

https://github.com/PyCQA/pylint/pull/4781
--- a/tests/lint/unittest_lint.py
+++ b/tests/lint/unittest_lint.py
@@ -643,7 +643,7 @@ def test_pylint_home():
assert config.PYLINT_HOME == pylintd
finally:
try:
- os.remove(pylintd)
+ rmtree(pylintd)
except FileNotFoundError:
pass
finally: