Skip to content

Commit 9572f3e

Browse files
committed
[tests] Fixed deprecated use of yield_fixture in test.
Signed-off-by: Michael Seifert <[email protected]>
1 parent ef619b9 commit 9572f3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_subprocess.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# The default asyncio event loop implementation on Windows does not
99
# support subprocesses. Subprocesses are available for Windows if a
1010
# ProactorEventLoop is used.
11-
@pytest.yield_fixture()
11+
@pytest.fixture()
1212
def event_loop():
1313
loop = asyncio.ProactorEventLoop()
1414
yield loop

0 commit comments

Comments
 (0)