From: Brian Wellington Date: Fri, 17 Jul 2020 23:52:11 +0000 (-0700) Subject: Disable coverage for BlockingIOError on udp send. X-Git-Tag: v2.1.0rc1~176^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aff1fd0181f7c75c023f626aeef5ce0c380b1b5e;p=thirdparty%2Fdnspython.git Disable coverage for BlockingIOError on udp send. --- 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)