diff options
Diffstat (limited to 'Lib/test/test_asyncio')
| -rw-r--r-- | Lib/test/test_asyncio/test_locks.py | 4 | ||||
| -rw-r--r-- | Lib/test/test_asyncio/test_runners.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_asyncio/test_locks.py b/Lib/test/test_asyncio/test_locks.py index 415cbe5..ff25d9e 100644 --- a/Lib/test/test_asyncio/test_locks.py +++ b/Lib/test/test_asyncio/test_locks.py @@ -1271,7 +1271,7 @@ class BarrierTests(unittest.IsolatedAsyncioTestCase): # catch here waiting tasks results1.append(True) else: - # here drained task ouside the barrier + # here drained task outside the barrier if rest_of_tasks == barrier._count: # tasks outside the barrier await barrier.reset() @@ -1377,7 +1377,7 @@ class BarrierTests(unittest.IsolatedAsyncioTestCase): # 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: diff --git a/Lib/test/test_asyncio/test_runners.py b/Lib/test/test_asyncio/test_runners.py index 0c20921..957cfe4 100644 --- a/Lib/test/test_asyncio/test_runners.py +++ b/Lib/test/test_asyncio/test_runners.py @@ -376,9 +376,9 @@ class RunnerTests(BaseTest): 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(): |
