From: Saugat Pachhai Date: Sat, 17 Aug 2019 08:37:01 +0000 (+0545) Subject: Fix typos in docstrings X-Git-Tag: 0.7.0~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3451028251db9518d485c89f5ccf1e2635e902a4;p=thirdparty%2Fhttpx.git Fix typos in docstrings --- diff --git a/httpx/concurrency.py b/httpx/concurrency.py index f07eef4c..f1bf5854 100644 --- a/httpx/concurrency.py +++ b/httpx/concurrency.py @@ -30,7 +30,7 @@ SSL_MONKEY_PATCH_APPLIED = False def ssl_monkey_patch() -> None: """ - Monky-patch for https://bugs.python.org/issue36709 + Monkey-patch for https://bugs.python.org/issue36709 This prevents console errors when outstanding HTTPS connections still exist at the point of exiting. diff --git a/httpx/interfaces.py b/httpx/interfaces.py index 6c79c9e2..2b4edf4d 100644 --- a/httpx/interfaces.py +++ b/httpx/interfaces.py @@ -120,7 +120,7 @@ class Dispatcher: class BaseReader: """ - A stream reader. Abstracts away any asyncio-specfic interfaces + A stream reader. Abstracts away any asyncio-specific interfaces into a more generic base class, that we can use with alternate backend, or for stand-alone test cases. """ diff --git a/tests/dispatch/test_connection_pools.py b/tests/dispatch/test_connection_pools.py index 21ed5f6e..76572f1e 100644 --- a/tests/dispatch/test_connection_pools.py +++ b/tests/dispatch/test_connection_pools.py @@ -23,7 +23,7 @@ async def test_keepalive_connections(server): @pytest.mark.asyncio async def test_differing_connection_keys(server): """ - Connnections to differing connection keys should result in multiple connections. + Connections to differing connection keys should result in multiple connections. """ async with httpx.ConnectionPool() as http: response = await http.request("GET", "http://127.0.0.1:8000/") diff --git a/tests/test_api.py b/tests/test_api.py index 62582f0a..7f636f3e 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -8,7 +8,7 @@ import httpx def threadpool(func): """ - Our sync tests should run in seperate thread to the uvicorn server. + Our sync tests should run in separate thread to the uvicorn server. """ @functools.wraps(func)