]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Fix typos in docstrings
authorSaugat Pachhai <suagatchhetri@outlook.com>
Sat, 17 Aug 2019 08:37:01 +0000 (14:22 +0545)
committerSeth Michael Larson <sethmichaellarson@gmail.com>
Sat, 17 Aug 2019 14:07:57 +0000 (09:07 -0500)
httpx/concurrency.py
httpx/interfaces.py
tests/dispatch/test_connection_pools.py
tests/test_api.py

index f07eef4c64a6fe6ec3a91ff6d7d936a2a018fc90..f1bf585448f27d2b3b3f8941d70b051e0585a5ad 100644 (file)
@@ -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.
index 6c79c9e22e274601b9c2eae0b6e804c834a88c15..2b4edf4d3cbda1452ea42932e0a87efc44f3100e 100644 (file)
@@ -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.
     """
index 21ed5f6ea189f125ea256707656f62bfe4e959a8..76572f1e868a5767ebac6696e9c47f5b5aa5b10f 100644 (file)
@@ -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/")
index 62582f0a4a4c223c3d7fbd9b326db9b7ec219540..7f636f3e3fc91ac47464f0e94802dd23ab0bb38c 100644 (file)
@@ -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)