summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio
diff options
context:
space:
mode:
authorWulian <1055917385@qq.com>2024-08-21 12:49:23 (GMT)
committerGitHub <noreply@github.com>2024-08-21 12:49:23 (GMT)
commit94036e43a83e8993f6ff42408759091b7c60d17d (patch)
tree8c5c47b07feeebb68ab878c1ae94f3f7168ebd81 /Lib/test/test_asyncio
parent7b26c4d1e3a856b9a377c57cffc3e7b3921d18bb (diff)
downloadcpython-94036e43a83e8993f6ff42408759091b7c60d17d.zip
cpython-94036e43a83e8993f6ff42408759091b7c60d17d.tar.gz
cpython-94036e43a83e8993f6ff42408759091b7c60d17d.tar.bz2
Fix typos in comments (#123201)
Diffstat (limited to 'Lib/test/test_asyncio')
-rw-r--r--Lib/test/test_asyncio/test_timeouts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_asyncio/test_timeouts.py b/Lib/test/test_asyncio/test_timeouts.py
index 1f7f9ee..f5543e1 100644
--- a/Lib/test/test_asyncio/test_timeouts.py
+++ b/Lib/test/test_asyncio/test_timeouts.py
@@ -220,7 +220,7 @@ class TimeoutTests(unittest.IsolatedAsyncioTestCase):
# Pretend the loop is busy for a while.
time.sleep(0.1)
await asyncio.sleep(1)
- # TimeoutError was cought by (2)
+ # TimeoutError was caught by (2)
await asyncio.sleep(10) # This sleep should be interrupted by (1)
t1 = loop.time()
self.assertTrue(t0 <= t1 <= t0 + 1)