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.

Author pitrou
Recipients exarkun, pitrou, ronaldoussoren
Date 2010-08-12.20:47:20
SpamBayes Score 1.40975e-08
Marked as misclassified No
Message-id <1281646042.28.0.438449918806.issue9581@psf.upfronthosting.co.za>
In-reply-to
Content
I get the following test_posix failures when run as root (Mandriva Linux):

======================================================================
ERROR: test_initgroups (test.test_posix.PosixGroupsTester)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/antoine/py3k/__svn__/Lib/test/test_posix.py", line 418, in test_initgroups
    g = g2 + 1
UnboundLocalError: local variable 'g2' referenced before assignment

======================================================================
FAIL: test_setgroups (test.test_posix.PosixGroupsTester)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/antoine/py3k/__svn__/Lib/test/test_posix.py", line 428, in test_setgroups
    self.assertListEqual(groups, posix.getgroups())
AssertionError: First sequence is not a list: range(0, 16)


Under 2.6, there's another failure:

======================================================================
ERROR: test_setgroups (test.test_posix.PosixGroupsTester)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/antoine/cpython/26/Lib/test/test_posix.py", line 356, in test_setgroups
    self.assertListEqual(groups, posix.getgroups())
AttributeError: 'PosixGroupsTester' object has no attribute 'assertListEqual'
History
Date User Action Args
2010-08-12 20:47:22pitrousetrecipients: + pitrou, ronaldoussoren, exarkun
2010-08-12 20:47:22pitrousetmessageid: <1281646042.28.0.438449918806.issue9581@psf.upfronthosting.co.za>
2010-08-12 20:47:20pitroulinkissue9581 messages
2010-08-12 20:47:20pitroucreate