mirror of
https://github.com/python/cpython.git
synced 2025-11-01 06:01:29 +00:00
[3.9] Fix typos in the Lib directory (GH-28775) (GH-28803)
Fix typos in the Lib directory as identified by codespell.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit 745c9d9dfc)
Automerge-Triggered-By: GH:JulienPalard
This commit is contained in:
parent
da56601783
commit
4346b81cc6
53 changed files with 67 additions and 67 deletions
|
|
@ -3568,7 +3568,7 @@ def test_run_coroutine_threadsafe_with_timeout(self):
|
|||
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)
|
||||
|
|
@ -3576,7 +3576,7 @@ def test_run_coroutine_threadsafe_task_cancelled(self):
|
|||
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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue