]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Do all httpx imports before setting _have_httpx.
authorBob Halley <halley@dnspython.org>
Sat, 15 Jul 2023 15:26:21 +0000 (08:26 -0700)
committerBob Halley <halley@dnspython.org>
Sat, 15 Jul 2023 15:27:53 +0000 (08:27 -0700)
commitc4d2608f2519c269a39e85fb137b0b183de59a8d
tree0b2b6a55bdbe2af332af157f6be6996807f98c5f
parent632ffd200e3ebb75c2a6eb8d05754e6aa810f819
Do all httpx imports before setting _have_httpx.

This gives us the expected test skipping when httpx isn't available
or is too old, vs. the test failures that were happening before
this change.

(cherry picked from commit 71a90fc934ef190e6a371f14e136a5a34e27849a)
dns/query.py