mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
Fix typos in comments (#123201)
This commit is contained in:
parent
7b26c4d1e3
commit
94036e43a8
9 changed files with 13 additions and 13 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue