summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Wellington <bwelling@xbill.org>2020-07-17 16:52:11 -0700
committerBrian Wellington <bwelling@xbill.org>2020-07-17 16:52:11 -0700
commitaff1fd0181f7c75c023f626aeef5ce0c380b1b5e (patch)
tree74ae85d4d3cad5a22ac7b3aac7f350a32cc3a223
parent4c0fe5541e36e06fccf1a85028bc289d3070374e (diff)
downloaddnspython-aff1fd0181f7c75c023f626aeef5ce0c380b1b5e.tar.gz
Disable coverage for BlockingIOError on udp send.
-rw-r--r--dns/query.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/query.py b/dns/query.py
index dbf9f77..b227c53 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)