summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorJesus Cea <jcea@jcea.es>2014-06-28 16:39:51 (GMT)
committerJesus Cea <jcea@jcea.es>2014-06-28 16:39:51 (GMT)
commit41c8da95f4ed6e08e6f904ee11ca7cef074541a9 (patch)
tree803b17cbb2fdff371f336cc406f2dd85bb2fca2c /Lib/test
parent8477f7af13d080f15b39094a2fa37dcc6314925a (diff)
parent61f32cb5b8358b02c45e0a256c16e505e4c371d2 (diff)
downloadcpython-41c8da95f4ed6e08e6f904ee11ca7cef074541a9.zip
cpython-41c8da95f4ed6e08e6f904ee11ca7cef074541a9.tar.gz
cpython-41c8da95f4ed6e08e6f904ee11ca7cef074541a9.tar.bz2
MERGE: Closes #11279: test_posix and lack of "id -G" support - less noise required? (Solaris)
Diffstat (limited to 'Lib/test')
-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()