From 82c647a87db1a82b105898cf9b8c4aa94d8d6180 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 2 Sep 2015 21:45:31 +0200 Subject: [PATCH] ipc: Mark on_ready_read cornercase as no-cover. --- qutebrowser/misc/ipc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/misc/ipc.py b/qutebrowser/misc/ipc.py index 98ca5150e..382eee814 100644 --- a/qutebrowser/misc/ipc.py +++ b/qutebrowser/misc/ipc.py @@ -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!")