cpython: 54f94e753269 (original) (raw)
Mercurial > cpython
changeset 91460:54f94e753269
MERGE: Closes #11279: test_posix and lack of "id -G" support - less noise required? (Solaris) [#11279]
Jesus Cea jcea@jcea.es | |
---|---|
date | Sat, 28 Jun 2014 18:39:51 +0200 |
parents | 6dd4c2d30b0e(current diff)6889fb276d87(diff) |
children | 4f3a8829c069 |
files | |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Lib/test/test_posix.py 2 |
line wrap: on
line diff
--- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py @@ -757,7 +757,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:[](#l1.7)
with os.popen('id -G 2>/dev/null') as idg:[](#l1.8) groups = idg.read().strip()[](#l1.9) ret = idg.close()[](#l1.10)