[3.10] Fix typos in the Lib directory (GH-28775) (GH-28804)

Fix typos in the Lib directory as identified by codespell.

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>.
(cherry picked from commit 745c9d9dfc)

Co-authored-by: Christian Clauss <cclauss@me.com>
This commit is contained in:
Christian Clauss 2021-10-07 17:49:47 +02:00 committed by GitHub
parent 03bf55d8cf
commit cfca4a6774
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
62 changed files with 79 additions and 79 deletions

View file

@ -3673,7 +3673,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)
@ -3681,7 +3681,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):