Antoine Pitrou <pit...@free.fr> added the comment:

> The test makes sure that the error message contains the path to the
> file (which the incomplete error message you report also does, BTW),
> and an explanation of the error (to address the OP’s concern that the
> message must be helpful): it looks for the string 'denied'; if this is
> not cross-platform, I won’t commit this line. 

I really don't think C error messages are portable, so you shouldn't
test for them :)

----------

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

Reply via email to