Skip to content

Commit a497400

Browse files
authored
gh-93124: Fix typos in comments (GH-93125)
Fixes #93124 Automerge-Triggered-By: GH:rhettinger
1 parent 1f134e9 commit a497400

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Lib/test/test_asyncio/test_locks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1271,7 +1271,7 @@ async def coro():
12711271
# catch here waiting tasks
12721272
results1.append(True)
12731273
else:
1274-
# here drained task ouside the barrier
1274+
# here drained task outside the barrier
12751275
if rest_of_tasks == barrier._count:
12761276
# tasks outside the barrier
12771277
await barrier.reset()
@@ -1377,7 +1377,7 @@ async def coro():
13771377
# last task exited from barrier
13781378
await barrier.reset()
13791379

1380-
# wit here to reach the `parties`
1380+
# wait here to reach the `parties`
13811381
await barrier.wait()
13821382
else:
13831383
try:

Lib/test/test_asyncio/test_runners.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,9 +376,9 @@ async def coro():
376376
with asyncio.Runner() as runner:
377377
with self.assertRaises(asyncio.CancelledError):
378378
runner.run(coro())
379-
379+
380380
def test_signal_install_not_supported_ok(self):
381-
# signal.signal() can throw if the "main thread" doensn't have signals enabled
381+
# signal.signal() can throw if the "main thread" doesn't have signals enabled
382382
assert threading.current_thread() is threading.main_thread()
383383

384384
async def coro():

Lib/test/test_builtin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2188,7 +2188,7 @@ def skip_if_readline(self):
21882188
# the readline implementation. In some cases, the Python readline
21892189
# callback rlhandler() is called by readline with a string without
21902190
# non-ASCII characters. Skip tests on non-ASCII characters if the
2191-
# readline module is loaded, since test_builtin is not intented to test
2191+
# readline module is loaded, since test_builtin is not intended to test
21922192
# the readline module, but the builtins module.
21932193
if 'readline' in sys.modules:
21942194
self.skipTest("the readline module is loaded")

Lib/test/test_peg_generator/test_c_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class TestCParser(unittest.TestCase):
7575

7676
@classmethod
7777
def setUpClass(cls):
78-
# When running under regtest, a seperate tempdir is used
78+
# When running under regtest, a separate tempdir is used
7979
# as the current directory and watched for left-overs.
8080
# Reusing that as the base for temporary directories
8181
# ensures everything is cleaned up properly and

0 commit comments

Comments
 (0)