diff --git a/tests/test_infected_asyncio.py b/tests/test_infected_asyncio.py index 30ddfb6..ac8cbcd 100644 --- a/tests/test_infected_asyncio.py +++ b/tests/test_infected_asyncio.py @@ -170,11 +170,11 @@ async def trio_ctx( # message. with trio.fail_after(2): async with ( + trio.open_nursery() as n, + tractor.to_asyncio.open_channel_from( sleep_and_err, ) as (first, chan), - - trio.open_nursery() as n, ): assert first == 'start'