MERGE: Closes #11279: test_posix and lack of "id -G" support - less noise required? (Solaris)

This commit is contained in:
Jesus Cea 2014-06-28 18:39:51 +02:00
commit 41c8da95f4
1 changed files with 1 additions and 1 deletions

View File

@ -757,7 +757,7 @@ class PosixTester(unittest.TestCase):
@unittest.skipUnless(hasattr(os, 'getegid'), "test needs os.getegid()") @unittest.skipUnless(hasattr(os, 'getegid'), "test needs os.getegid()")
def test_getgroups(self): def test_getgroups(self):
with os.popen('id -G') as idg: with os.popen('id -G 2>/dev/null') as idg:
groups = idg.read().strip() groups = idg.read().strip()
ret = idg.close() ret = idg.close()