diff options
author | Christian Clauss <cclauss@me.com> | 2021-10-06 23:13:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-06 23:13:48 (GMT) |
commit | 745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be (patch) | |
tree | cf25c5b8d353f69be8ba9b70963eabae044e4c76 /Lib/test/test_asyncio | |
parent | db693df3e112c5a61f2cbef63eedce3a36520ded (diff) | |
download | cpython-745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be.zip cpython-745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be.tar.gz cpython-745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be.tar.bz2 |
Fix typos in the Lib directory (GH-28775)
Fix typos in the Lib directory as identified by codespell.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/test/test_asyncio')
-rw-r--r-- | Lib/test/test_asyncio/test_streams.py | 2 | ||||
-rw-r--r-- | Lib/test/test_asyncio/test_subprocess.py | 2 | ||||
-rw-r--r-- | Lib/test/test_asyncio/test_tasks.py | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_asyncio/test_streams.py b/Lib/test/test_asyncio/test_streams.py index 6eaa289..a6ea24c 100644 --- a/Lib/test/test_asyncio/test_streams.py +++ b/Lib/test/test_asyncio/test_streams.py @@ -711,7 +711,7 @@ class StreamTests(test_utils.TestCase): # See asyncio issue 168. This test is derived from the example # subprocess_attach_read_pipe.py, but we configure the # StreamReader's limit so that twice it is less than the size - # of the data writter. Also we must explicitly attach a child + # of the data writer. Also we must explicitly attach a child # watcher to the event loop. code = """\ diff --git a/Lib/test/test_asyncio/test_subprocess.py b/Lib/test/test_asyncio/test_subprocess.py index 3cf8818..14fa6dd 100644 --- a/Lib/test/test_asyncio/test_subprocess.py +++ b/Lib/test/test_asyncio/test_subprocess.py @@ -228,7 +228,7 @@ class SubprocessMixin: # buffer large enough to feed the whole pipe buffer large_data = b'x' * support.PIPE_MAX_SIZE - # the program ends before the stdin can be feeded + # the program ends before the stdin can be fed proc = self.loop.run_until_complete( asyncio.create_subprocess_exec( sys.executable, '-c', 'pass', diff --git a/Lib/test/test_asyncio/test_tasks.py b/Lib/test/test_asyncio/test_tasks.py index 92b1a43..362fbf8 100644 --- a/Lib/test/test_asyncio/test_tasks.py +++ b/Lib/test/test_asyncio/test_tasks.py @@ -3269,7 +3269,7 @@ class RunCoroutineThreadsafeTests(test_utils.TestCase): self.assertTrue(task.done()) def test_run_coroutine_threadsafe_task_cancelled(self): - """Test coroutine submission from a tread to an event loop + """Test coroutine submission from a thread to an event loop when the task is cancelled.""" callback = lambda: self.target(cancel=True) future = self.loop.run_in_executor(None, callback) @@ -3277,7 +3277,7 @@ class RunCoroutineThreadsafeTests(test_utils.TestCase): self.loop.run_until_complete(future) def test_run_coroutine_threadsafe_task_factory_exception(self): - """Test coroutine submission from a tread to an event loop + """Test coroutine submission from a thread to an event loop when the task factory raise an exception.""" def task_factory(loop, coro): |