]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
avoid unneeded coverage warnings
authorBob Halley <halley@dnspython.org>
Tue, 16 Jun 2020 23:58:44 +0000 (16:58 -0700)
committerBob Halley <halley@dnspython.org>
Tue, 16 Jun 2020 23:58:44 +0000 (16:58 -0700)
dns/query.py

index c084d79a01aeaa312c3a05e3911dfc51470e4281..3c4bba09e7c764f6a43e4e1d8fe15a582edffb27 100644 (file)
@@ -41,11 +41,11 @@ try:
     from requests_toolbelt.adapters.host_header_ssl import HostHeaderSSLAdapter
     have_doh = True
 except ImportError:
-    have_doh = False
+    have_doh = False  # pragma: no cover
 
 try:
     import ssl
-except ImportError:
+except ImportError:  # pragma: no cover
     class ssl:    # type: ignore
 
         class WantReadException(Exception):