[issue29177] skip tests of test_logging when bind() raises PermissionError (non-root user on Android)

Vinay Sajip report at bugs.python.org
Fri Jan 6 16:41:12 EST 2017


Vinay Sajip added the comment:

I've added a patch that should handle these errors (including the SysLogHandlerTest, which wasn't reported, but I think the same logic applies).

To simulate failure during setup, uncomment one or more of the lines which says

    # raise ValueError('dummy error raised')

----------
assignee:  -> vinay.sajip
keywords: +patch
stage: needs patch -> patch review
Added file: http://bugs.python.org/file46180/issue-29177-01.diff

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


More information about the Python-bugs-list mailing list