Commit a7fdb01a authored by Charles-François Natali's avatar Charles-François Natali

Merge.

parents b80ff89b cbd86174
......@@ -630,7 +630,7 @@ class PosixTester(unittest.TestCase):
groups = idg.read().strip()
ret = idg.close()
if ret != 0 or not groups:
if ret != None or not groups:
raise unittest.SkipTest("need working 'id -G'")
self.assertEqual(
......@@ -644,7 +644,7 @@ class PosixTester(unittest.TestCase):
groups = idg.read().strip()
ret = idg.close()
if ret != 0 or not groups:
if ret != None or not groups:
raise unittest.SkipTest("need working 'id -G'")
# 'id -G' and 'os.getgroups()' should return the same
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment