summaryrefslogtreecommitdiff
path: root/dns/asyncquery.py
diff options
context:
space:
mode:
Diffstat (limited to 'dns/asyncquery.py')
-rw-r--r--dns/asyncquery.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/asyncquery.py b/dns/asyncquery.py
index a2bd06e..97afa0b 100644
--- a/dns/asyncquery.py
+++ b/dns/asyncquery.py
@@ -512,7 +512,7 @@ async def https(
"""
if not have_doh:
- raise NoDOH("httpx is not available.") # pragma: no cover
+ raise NoDOH # pragma: no cover
if client and not isinstance(client, httpx.AsyncClient):
raise ValueError("session parameter must be an httpx.AsyncClient")