commit | 61f32cb5b8358b02c45e0a256c16e505e4c371d2 | [log] [tgz] |
---|---|---|
author | Jesus Cea <jcea@jcea.es> | Sat Jun 28 18:39:35 2014 +0200 |
committer | Jesus Cea <jcea@jcea.es> | Sat Jun 28 18:39:35 2014 +0200 |
tree | e68bd2a5fbeb32f04013f6ed33f46a67c0be75cd | |
parent | 09e7590801d6d18668afa7327069fc3002f0249d [diff] |
Closes #11279: test_posix and lack of "id -G" support - less noise required? (Solaris)
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py index fdf5948..3fae2b1 100644 --- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py
@@ -757,7 +757,7 @@ @unittest.skipUnless(hasattr(os, 'getegid'), "test needs os.getegid()") 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() ret = idg.close()