def test_initgroupsForcePython(self):
        util._c_initgroups = None
        calls = []
        util.setgroups = calls.append
        util.initgroups(os.getuid(), os.getgid())
        # Something should be in the calls, we don't really care what
        self.assertTrue(calls)
If we fake the absence of the C extension, the Python implementation is
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/python/test/test_util.py/InitGroupsTests.test_initgroupsForcePython