]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
On Mac OS X pwd.getpwall() might return the tuples
authorWalter Dörwald <walter@livinglogic.de>
Mon, 5 May 2003 20:37:33 +0000 (20:37 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Mon, 5 May 2003 20:37:33 +0000 (20:37 +0000)
commitce6829ade0071e5463a5dc5cde7bbb01667073d5
treebd303cf19d9fc2ace89f588dee2f45e238439c5c
parent6cb52ddc3c34f08ddc3857dc10194a2f6653aaec
On Mac OS X pwd.getpwall() might return the tuples
('pgsql', '*', 252, []) and ('postgres', '*', 252, ['skip']),
but pwd.getgrgid(252) might return ('pgsql', '', 252, ['skip']).

Drop the test that tried to find a tuple similar to the one
returned from pwd.getgrgid() among those for the same gid returned
by pwd.getgrall(), as the only working definition of 'similar' seems
to be 'has the same gid'. This check can be done more directly.

This should fix SF bug #732783.
Lib/test/test_grp.py