From fd3ba7b261d021d07b8e283705c72b9ece7f9d10 Mon Sep 17 00:00:00 2001 From: Jesus Cea Date: Sat, 28 Jun 2014 18:39:01 +0200 Subject: [PATCH] Closes #11279: test_posix and lack of "id -G" support - less noise required? (Solaris) --- Lib/test/test_posix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py index 4d58e686ec..df122f712c 100644 --- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py @@ -509,7 +509,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() -- 2.50.1