aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/pathoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'pathod/pathoc.py')
-rw-r--r--pathod/pathoc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pathod/pathoc.py b/pathod/pathoc.py
index 3e804b63..aba5c344 100644
--- a/pathod/pathoc.py
+++ b/pathod/pathoc.py
@@ -127,8 +127,8 @@ class WebsocketFrameReader(basethread.BaseThread):
return
try:
r, _, _ = select.select([self.rfile], [], [], 0.05)
- except OSError:
- return
+ except OSError: # pragma: no cover
+ return # this is not reliably triggered due to its nature, so we exclude it from coverage.
delta = time.time() - starttime
if not r and self.timeout and delta > self.timeout:
return