[Python-checkins] cpython (merge 3.4 -> default): MERGE: Closes #11279: test_posix and lack of "id -G" support - less noise
jesus.cea
python-checkins at python.org
Sat Jun 28 18:40:15 CEST 2014
http://hg.python.org/cpython/rev/54f94e753269
changeset: 91460:54f94e753269
parent: 91457:6dd4c2d30b0e
parent: 91459:6889fb276d87
user: Jesus Cea <jcea at jcea.es>
date: Sat Jun 28 18:39:51 2014 +0200
summary:
MERGE: 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
More information about the Python-checkins
mailing list