def _unsupportedVersionReceived(self, remoteVersion):
        """
        Intercept unsupported version call.

        @type remoteVersion: L{str}
        """
        self.gotUnsupportedVersion = remoteVersion
        return transport.SSHTransportBase._unsupportedVersionReceived(
            self, remoteVersion)

        Intercept unsupported version call.

        @type remoteVersion: L{str}
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_transport.py