def finishConnection(self):
        """
        Give back the connection established in L{create} over which the new
        command channel being tested will exchange data.
        """
        # The connection was set up and the first command channel set up, but
        # some more I/O needs to happen for the second command channel to be
        # ready.  Make that I/O happen before giving back the objects.
        self._pump.pump()
        self._pump.pump()
        self._pump.pump()
        self._pump.pump()
        return self._server, self._client, self._pump

        Give back the connection established in L{create} over which the new
        command channel being tested will exchange data.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_endpoints.py