def test_logPrefix(self):
        """
        L{Factory.logPrefix} returns the name of the factory class.
        """
        class SomeKindOfFactory(Factory):
            pass

        self.assertEqual("SomeKindOfFactory", SomeKindOfFactory().logPrefix())

        L{Factory.logPrefix} returns the name of the factory class.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/internet/test/test_protocol.py