[issue15496] harden directory removal for tests on Windows

Jeremy Kloth report at bugs.python.org
Wed Aug 1 16:17:24 CEST 2012


Jeremy Kloth added the comment:

I must also add that the proposed solution works well within the test suite as the access denied error can also occur when creating subsequent files, not just removing them.

This solution eliminates the need to wrap all creation calls with access denied handling, a huge plus IMHO.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15496>
_______________________________________


More information about the Python-bugs-list mailing list