def removeConnection(self, connection):
        fprint = connection.micro_status_entry.fingerprint
        try:
            del self._connection_dict[connection.micro_status_entry.fingerprint]
            msg = "ConnectionManager removed a connection to {}".format(fprint)
            logging.debug(msg)
        except KeyError:
            msg = ("ConnectionManager received a request to remove connection "
                   "to {}, but CircuitManager has no reference to that "
                   "connection.".format(fprint))
            logging.debug(msg)
Test MNE inverse application
dataset/ETHPy150Open nskinkel/oppy/oppy/connection/connectionmanager.py/ConnectionManager.removeConnection--crossover with--dataset/ETHPy150Open mne-tools/mne-python/mne/minimum_norm/tests/test_inverse.py/test_apply_inverse_operator