[issue30265] test.support.unlink() should fail or emit a warning on WindowsError: [Error 32] The process cannot access the file ...

Jeremy Kloth report at bugs.python.org
Thu May 4 09:55:25 EDT 2017


Jeremy Kloth added the comment:

Looking at test.support, the only errors that I can see being ignored by unlink() is FileNotFoundError and NotADirectoryError (line 399). The only bare OSError except clause is on line 359, but for an lstat() call.

----------
nosy: +jkloth

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


More information about the Python-bugs-list mailing list