• Walter Dörwald's avatar
    On Mac OS X pwd.getpwall() might return the tuples · ce6829ad
    Walter Dörwald yazdı
    ('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.
    ce6829ad
test_grp.py 2.58 KB