commit | fd3ba7b261d021d07b8e283705c72b9ece7f9d10 | [log] [tgz] |
---|---|---|
author | Jesus Cea <jcea@jcea.es> | Sat Jun 28 18:39:01 2014 +0200 |
committer | Jesus Cea <jcea@jcea.es> | Sat Jun 28 18:39:01 2014 +0200 |
tree | 285030956f4606c3af8360b18e227a0cea93359e | |
parent | 86af310c155f41d73d14781f993729117bea4e76 [diff] [blame] |
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 4d58e68..df122f7 100644 --- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py
@@ -509,7 +509,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()