def test_initgroupsInC(self):
        calls = []
        util.setgroups = calls.append
        try:
            util.initgroups(os.getuid(), os.getgid())
        except OSError:
            pass
        self.assertFalse(calls)
If the C extension is present, it's called instead of the Python
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/test/test_util.py/InitGroupsTests.test_initgroupsInC