ipc: Mark on_ready_read cornercase as no-cover.

This commit is contained in:
Florian Bruhin 2015-09-02 21:45:31 +02:00
parent a63f0d5409
commit 82c647a87d

View File

@ -190,7 +190,7 @@ class IPCServer(QObject):
@pyqtSlot()
def on_ready_read(self):
"""Read json data from the client."""
if self._socket is None:
if self._socket is None: # pragma: no cover
# This happens when doing a connection while another one is already
# active for some reason.
log.ipc.warn("In on_ready_read with None socket!")