def channel_TestChannel(self, windowSize, maxPacket, data):
        """
        The other side is requesting the TestChannel.  Create a C{TestChannel}
        instance, store it, and return it.
        """
        self.channel = TestChannel(remoteWindow=windowSize,
                remoteMaxPacket=maxPacket, data=data)
        return self.channel

        The other side is requesting the TestChannel.  Create a C{TestChannel}
        instance, store it, and return it.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_connection.py