-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Fix rmtree to remove directories with read-only files #5588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
5d32623
to
96a8988
Compare
Codecov Report
@@ Coverage Diff @@
## master #5588 +/- ##
==========================================
+ Coverage 93.84% 96.11% +2.26%
==========================================
Files 117 117
Lines 25733 25775 +42
Branches 2493 2495 +2
==========================================
+ Hits 24149 24773 +624
+ Misses 1256 697 -559
+ Partials 328 305 -23
Continue to review full report at Codecov.
|
75eefd6
to
eccaf23
Compare
eccaf23
to
0ff56e7
Compare
0ff56e7
to
37c3796
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lovely, thanks
Fix rmtree to remove directories with read-only files
Backport: #5597 |
See #5626 for an issue with this. |
pytest shows warnings because the directory isn't removable: pytest-dev/pytest#5588 Make sure it's writable after the test completed.
pytest shows warnings in newer versions because those directories/files can't be removed: pytest-dev/pytest#5588 Make sure they're writable again after the test completed by using a fixture which does proper cleanup.
pytest shows warnings in newer versions because those directories/files can't be removed: pytest-dev/pytest#5588 Make sure they're writable again after the test completed by using a fixture which does proper cleanup.
Fix #5524