Message113705
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' |
|
Date |
User |
Action |
Args |
2010-08-12 20:47:22 | pitrou | set | recipients:
+ pitrou, ronaldoussoren, exarkun |
2010-08-12 20:47:22 | pitrou | set | messageid: <1281646042.28.0.438449918806.issue9581@psf.upfronthosting.co.za> |
2010-08-12 20:47:20 | pitrou | link | issue9581 messages |
2010-08-12 20:47:20 | pitrou | create | |
|