summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2024-03-05 16:05:52 (GMT)
committerGitHub <noreply@github.com>2024-03-05 16:05:52 (GMT)
commite7ba6e9dbe5433b4a0bcb0658da6a68197c28630 (patch)
treea969e02a86240adb40023084777365594bc82c61 /Lib/test/test_asyncio
parent4402b3cbcf8323bfa908ef86a687a5a7d46d27f3 (diff)
downloadcpython-e7ba6e9dbe5433b4a0bcb0658da6a68197c28630.zip
cpython-e7ba6e9dbe5433b4a0bcb0658da6a68197c28630.tar.gz
cpython-e7ba6e9dbe5433b4a0bcb0658da6a68197c28630.tar.bz2
chore: fix typos (#116345)
Signed-off-by: cui fliter <imcusg@gmail.com>
Diffstat (limited to 'Lib/test/test_asyncio')
-rw-r--r--Lib/test/test_asyncio/test_waitfor.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_asyncio/test_waitfor.py b/Lib/test/test_asyncio/test_waitfor.py
index d52f325..11a8eee 100644
--- a/Lib/test/test_asyncio/test_waitfor.py
+++ b/Lib/test/test_asyncio/test_waitfor.py
@@ -249,8 +249,8 @@ class AsyncioWaitForTest(unittest.IsolatedAsyncioTestCase):
await self._test_cancel_wait_for(60.0)
async def test_wait_for_cancel_suppressed(self):
- # GH-86296: Supressing CancelledError is discouraged
- # but if a task subpresses CancelledError and returns a value,
+ # GH-86296: Suppressing CancelledError is discouraged
+ # but if a task suppresses CancelledError and returns a value,
# `wait_for` should return the value instead of raising CancelledError.
# This is the same behavior as `asyncio.timeout`.