]> 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:26:21 +0000 (08:26 -0700)
commit71a90fc934ef190e6a371f14e136a5a34e27849a
treed7bf863449ad26f8a417307f90043f703f20c21c
parentdaddf9d6adc5266db0e89f58592773aee439637f
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.
dns/query.py