Update httpx/_transports/default.py

This commit is contained in:
Tom Christie 2023-12-28 20:35:16 +00:00 committed by GitHub
parent 3741513647
commit 9b36a208b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -276,7 +276,8 @@ class AsyncHTTPTransport(AsyncBaseTransport):
import sniffio # noqa: F401
except ImportError: # pragma: nocover
raise RuntimeError(
"Using httpx in async mode, but neither httpx['asyncio'] or asyncio['trio'] is installed."
"Using httpx in async mode, but neither "
"httpx['asyncio'] or asyncio['trio'] is installed."
)
ssl_context = create_ssl_context(verify=verify, cert=cert, trust_env=trust_env)