New submission from Serhiy Storchaka:

Some tests create directories with disabled writing or even reading and 
listing. If them fail test.support.rmtree() can't remove such directories. This 
cause failures in other tests.

Proposed patch makes test.support.rmtree() able to remove such directories. If 
some operation fails it try to change the mode of corresponding directory and 
repeat the try.

----------
components: Tests
files: test-support-rmtree.patch
keywords: patch
messages: 280575
nosy: ezio.melotti, michael.foord, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Make test.support.rmtree() able to remove non-writable directories
type: enhancement
versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7
Added file: http://bugs.python.org/file45443/test-support-rmtree.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28666>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to