diff --git a/tests/test_subprocess.py b/tests/test_subprocess.py index 14d3498a..f60b2824 100644 --- a/tests/test_subprocess.py +++ b/tests/test_subprocess.py @@ -8,7 +8,7 @@ # The default asyncio event loop implementation on Windows does not # support subprocesses. Subprocesses are available for Windows if a # ProactorEventLoop is used. - @pytest.yield_fixture() + @pytest.fixture() def event_loop(): loop = asyncio.ProactorEventLoop() yield loop