[issue29155] test.test_spwd.TestSpwdNonRoot failure with FileNotFoundError:

Serhiy Storchaka report at bugs.python.org
Wed Jan 4 12:06:50 EST 2017


Serhiy Storchaka added the comment:

It is easy to add FileNotFoundError to the list of expected exceptions. But it seems to me that the only error that gespname() can return on Linux is EACCES. [1] May be this is a bug of your platform.

[1] http://man7.org/linux/man-pages/man3/getspnam.3.html

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list