diff --git a/tests/common_test/parallel_test.py b/tests/common_test/parallel_test.py index 5ddecb9..3673d40 100644 --- a/tests/common_test/parallel_test.py +++ b/tests/common_test/parallel_test.py @@ -48,12 +48,12 @@ def test_no_loop_uses_default(self): @async_test() async def test_consume_do_not_block_on_exception(self, loop): - async def coro0(): + async def coro_with_exception(): raise Exception() coro = make_mocked_coro() worker = ParallelWorker(1, loop=loop) - await worker.request(coro0) + await worker.request(coro_with_exception) await worker.request(coro) with async_timeout.timeout(timeout=0.01, loop=loop): await worker.wait()