summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2014-06-28 16:39:35 (GMT)
committerJesus Cea <jcea@jcea.es>2014-06-28 16:39:35 (GMT)
commit61f32cb5b8358b02c45e0a256c16e505e4c371d2 (patch)
treee68bd2a5fbeb32f04013f6ed33f46a67c0be75cd /Lib
parent09e7590801d6d18668afa7327069fc3002f0249d (diff)
downloadcpython-61f32cb5b8358b02c45e0a256c16e505e4c371d2.zip
cpython-61f32cb5b8358b02c45e0a256c16e505e4c371d2.tar.gz
cpython-61f32cb5b8358b02c45e0a256c16e505e4c371d2.tar.bz2
Closes #11279: test_posix and lack of "id -G" support - less noise required? (Solaris)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_posix.py2
1 files changed, 1 insertions, 1 deletions
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 @@ class PosixTester(unittest.TestCase):
@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()