[3.12] chore: fix typos (#116345) (#116370)

Co-authored-by: cui fliter <imcusg@gmail.com>
(cherry picked from commit e7ba6e9dbe)
This commit is contained in:
Terry Jan Reedy 2024-03-05 13:51:17 -05:00 committed by GitHub
parent 55faaa5c36
commit 84b023d243
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 11 additions and 11 deletions

View file

@ -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`.