cpython (2.7): Closes #11279: test_posix and lack of "id -G" support - less noise required?
![](https://secure.gravatar.com/avatar/8ac615df352a970211b0e3d94a307c6d.jpg?s=120&d=mm&r=g)
http://hg.python.org/cpython/rev/4ef517041573 changeset: 91458:4ef517041573 branch: 2.7 parent: 91456:8552f3031753 user: Jesus Cea <jcea@jcea.es> date: Sat Jun 28 18:39:01 2014 +0200 summary: Closes #11279: test_posix and lack of "id -G" support - less noise required? (Solaris) files: Lib/test/test_posix.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py --- 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() -- Repository URL: http://hg.python.org/cpython
participants (1)
-
jesus.cea