[issue9367] test_getgroups in test_posix fails

2010-07-24 Thread R. David Murray
Changes by R. David Murray : -- resolution: accepted -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue9367] test_getgroups in test_posix fails

2010-07-24 Thread R. David Murray
R. David Murray added the comment: Except for the 2.6 backport, you could also have used assertItemsEqual, which is a smart wrapper around the idiom you implemented. -- nosy: +r.david.murray status: pending -> open ___ Python tracker

[issue9367] test_getgroups in test_posix fails

2010-07-24 Thread Ronald Oussoren
Ronald Oussoren added the comment: Committed a fix in: 3.2: r83133 3.1: r83134 2.7: r83135 2.6: r83136 I ended up committing a slightly different patch than attached here, the test now calls sorted to sort both lists before comparing, which IMO makes it slightly clearer. -- resoluti

[issue9367] test_getgroups in test_posix fails

2010-07-24 Thread Ronald Oussoren
Changes by Ronald Oussoren : -- assignee: -> ronaldoussoren nosy: +ronaldoussoren ___ Python tracker ___ ___ Python-bugs-list mailing

[issue9367] test_getgroups in test_posix fails

2010-07-24 Thread Darren Worrall
Darren Worrall added the comment: After a quick chat with Ronald at the EP sprint he says the ordering didnt matter, so here's a quick patch to check only for deltas. -- keywords: +patch Added file: http://bugs.python.org/file18177/py3k-issue9367.diff _

[issue9367] test_getgroups in test_posix fails

2010-07-24 Thread Darren Worrall
New submission from Darren Worrall : In my checkout of py3k (r83123), test_getgroups in test_posix fails - the right elements are returned but the ordering is different: $ ./python -m test.regrtest test_posix test_posix test test_posix failed -- Traceback (most recent call last): File "/home/