def test_infiniteLoop(self):
        """
        L{findMachinesViaWrapper} ignores infinite loops.

        Note this test can't fail - it can only run forever!
        """
        source = """
        class InfiniteLoop(object):
            pass

        InfiniteLoop.loop = InfiniteLoop
        """
        module = self.makeModule(source, self.pathDir, 'loop.py')
        self.assertFalse(list(self.findMachinesViaWrapper(module)))

        L{findMachinesViaWrapper} ignores infinite loops.

        Note this test can't fail - it can only run forever!
        
stackoverflow/venv/lib/python3.6/site-packages/automat/_test/test_discover.py