Skip to content

Commit cd25f96

Browse files
authored
Fix fixture loop and proactor_loop (#22)
1 parent 4f46426 commit cd25f96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytest_aiohttp/plugin.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def loop(event_loop: asyncio.AbstractEventLoop) -> asyncio.AbstractEventLoop:
3535
"please use 'event_loop' instead",
3636
DeprecationWarning,
3737
)
38-
return loop
38+
return event_loop
3939

4040

4141
@pytest.fixture
@@ -45,7 +45,7 @@ def proactor_loop(event_loop: asyncio.AbstractEventLoop) -> asyncio.AbstractEven
4545
"please use 'event_loop' instead",
4646
DeprecationWarning,
4747
)
48-
return loop
48+
return event_loop
4949

5050

5151
@pytest.fixture

0 commit comments

Comments
 (0)