Commit 41c8da95 authored by Jesus Cea's avatar Jesus Cea

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

parents 8477f7af 61f32cb5
...@@ -757,7 +757,7 @@ class PosixTester(unittest.TestCase): ...@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment