[issue29562] test_getgroups of test_posix fails (on OS X 10.10)
Jim DeLaHunt
report at bugs.python.org
Mon Feb 20 02:32:53 EST 2017
Jim DeLaHunt added the comment:
> Note that the result of getgroups(2) is fixed on login, while "id -G" reflects the current state of the user database on macOS.
Wow, that's interesting! Thank you for this information.
The test code for test_getgroups does not mention this interaction. I can certainly see how it could affect the test. Maybe it should be added?
Since I last tried that test, I've logged out and restarted several times, and changed OS to Mac OS X 10.11 El Capitan. Nothing like changing several independent variables at once while diagnosing! I will try the test again and report back.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29562>
_______________________________________
More information about the Python-bugs-list
mailing list