def test_disconnectIfCantMatchKex(self):
        """
        Test that the transport disconnects if it can't match the key
        exchange
        """
        def blankKeyExchanges(proto2):
            proto2.supportedKeyExchanges = []
        self.connectModifiedProtocol(blankKeyExchanges)

        Test that the transport disconnects if it can't match the key
        exchange
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_transport.py