summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_tasks.py
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2021-10-06 23:13:48 (GMT)
committerGitHub <noreply@github.com>2021-10-06 23:13:48 (GMT)
commit745c9d9dfc1ad6fdfdf1d07420c6273ff67fa5be (patch)
treecf25c5b8d353f69be8ba9b70963eabae044e4c76 /Lib/test/test_asyncio/test_tasks.py
parentdb693df3e112c5a61f2cbef63eedce3a36520ded (diff)
downloadcpython-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/test_tasks.py')
-rw-r--r--Lib/test/test_asyncio/test_tasks.py4
1 files changed, 2 insertions, 2 deletions
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):