Issue 14110: FreeBSD: test_os fails if user is in the wheel group (original) (raw)
On FreeBSD, if the user is a member of the group 'wheel', these tests fail:
====================================================================== FAIL: test_setegid (test.test_os.PosixUidGidTests)
Traceback (most recent call last): File "/usr/home/stefan/hg/cpython/Lib/test/test_os.py", line 1090, in test_setegid self.assertRaises(os.error, os.setegid, 0) AssertionError: OSError not raised by setegid
====================================================================== FAIL: test_setgid (test.test_os.PosixUidGidTests)
Traceback (most recent call last): File "/usr/home/stefan/hg/cpython/Lib/test/test_os.py", line 1078, in test_setgid self.assertRaises(os.error, os.setgid, 0) AssertionError: OSError not raised by setgid
====================================================================== FAIL: test_setregid (test.test_os.PosixUidGidTests)
Traceback (most recent call last): File "/usr/home/stefan/hg/cpython/Lib/test/test_os.py", line 1110, in test_setregid self.assertRaises(os.error, os.setregid, 0, 0) AssertionError: OSError not raised by setregid