def finishConnection(self):
        """
        Do any remaining work necessary to complete an in-memory connection
        attempted initiated using C{self.reactor}.
        """
        raise NotImplementedError(
            "%r did not implement finishConnection" % (
                self.__class__.__name__,))

        Do any remaining work necessary to complete an in-memory connection
        attempted initiated using C{self.reactor}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_endpoints.py