ipc: Mark on_ready_read cornercase as no-cover.
This commit is contained in:
parent
a63f0d5409
commit
82c647a87d
@ -190,7 +190,7 @@ class IPCServer(QObject):
|
|||||||
@pyqtSlot()
|
@pyqtSlot()
|
||||||
def on_ready_read(self):
|
def on_ready_read(self):
|
||||||
"""Read json data from the client."""
|
"""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
|
# This happens when doing a connection while another one is already
|
||||||
# active for some reason.
|
# active for some reason.
|
||||||
log.ipc.warn("In on_ready_read with None socket!")
|
log.ipc.warn("In on_ready_read with None socket!")
|
||||||
|
Loading…
Reference in New Issue
Block a user