Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Lib/test/test_asyncio/test_locks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1271,7 +1271,7 @@ async def coro():
# catch here waiting tasks
results1.append(True)
else:
# here drained task ouside the barrier
# here drained task outside the barrier
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not entirely sure what this comment is trying to say

if rest_of_tasks == barrier._count:
# tasks outside the barrier
await barrier.reset()
Expand Down Expand Up @@ -1377,7 +1377,7 @@ async def coro():
# last task exited from barrier
await barrier.reset()

# wit here to reach the `parties`
# wait here to reach the `parties`
await barrier.wait()
else:
try:
Expand Down
4 changes: 2 additions & 2 deletions Lib/test/test_asyncio/test_runners.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,9 @@ async def coro():
with asyncio.Runner() as runner:
with self.assertRaises(asyncio.CancelledError):
runner.run(coro())

def test_signal_install_not_supported_ok(self):
# signal.signal() can throw if the "main thread" doensn't have signals enabled
# signal.signal() can throw if the "main thread" doesn't have signals enabled
assert threading.current_thread() is threading.main_thread()

async def coro():
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_builtin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2188,7 +2188,7 @@ def skip_if_readline(self):
# the readline implementation. In some cases, the Python readline
# callback rlhandler() is called by readline with a string without
# non-ASCII characters. Skip tests on non-ASCII characters if the
# readline module is loaded, since test_builtin is not intented to test
# readline module is loaded, since test_builtin is not intended to test
# the readline module, but the builtins module.
if 'readline' in sys.modules:
self.skipTest("the readline module is loaded")
Expand Down
2 changes: 1 addition & 1 deletion Lib/test/test_peg_generator/test_c_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class TestCParser(unittest.TestCase):

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