Skip to content

Commit

Permalink
[tests] Fixed deprecated use of yield_fixture in test.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de>
  • Loading branch information
seifertm committed Jan 10, 2024
1 parent ef619b9 commit 9572f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9572f3e

Please sign in to comment.