This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: FreeBSD: test_os fails if user is in the wheel group
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.3, Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: skrah Nosy List: python-dev, skrah
Priority: low Keywords:

Created on 2012-02-24 19:24 by skrah, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg154148 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2012-02-24 19:24
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
msg180135 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-01-17 14:36
New changeset a94752d75c74 by Stefan Krah in branch '3.3':
Issue #14110: Fix test failures on FreeBSD if the user is in the wheel group.
http://hg.python.org/cpython/rev/a94752d75c74
History
Date User Action Args
2022-04-11 14:57:27adminsetgithub: 58318
2013-01-17 14:40:36skrahsetstatus: open -> closed
assignee: skrah
stage: resolved
resolution: fixed
versions: + Python 3.4
2013-01-17 14:36:01python-devsetnosy: + python-dev
messages: + msg180135
2012-02-24 19:24:34skrahcreate