From aff1fd0181f7c75c023f626aeef5ce0c380b1b5e Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Fri, 17 Jul 2020 16:52:11 -0700 Subject: [PATCH] Disable coverage for BlockingIOError on udp send. --- dns/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dns/query.py b/dns/query.py index dbf9f77f..b227c53d 100644 --- a/dns/query.py +++ b/dns/query.py @@ -365,7 +365,7 @@ def _udp_send(sock, data, destination, expiration): return sock.sendto(data, destination) else: return sock.send(data) - except BlockingIOError: + except BlockingIOError: # pragma: no cover _wait_for_writable(sock, expiration) -- 2.47.3