cpython (3.4): Closes #11279: test_posix and lack of "id -G" support - less noise required?
http://hg.python.org/cpython/rev/6889fb276d87 changeset: 91459:6889fb276d87 branch: 3.4 parent: 91454:39019673aa8d user: Jesus Cea <jcea@jcea.es> date: Sat Jun 28 18:39:35 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 @@ -757,7 +757,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