(self, path)
| 551 | assert not fn.parent.is_dir() |
| 552 | |
| 553 | def chmod_r(self, path): |
| 554 | mode = os.stat(str(path)).st_mode |
| 555 | os.chmod(str(path), mode & ~stat.S_IWRITE) |
| 556 | |
| 557 | def test_rm_rf_with_read_only_directory(self, tmp_path): |
| 558 | class="st">""class="st">"Ensure rm_rf can remove read-only directories (class="cm">#5524)"class="st">"" |
no test coverage detected