Skip to content

Commit 2cd678c

Browse files
committed
Restore working on pytest 6.1
1 parent bb6167c commit 2cd678c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest_asyncio/plugin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ def pytest_runtest_setup(item: pytest.Item) -> None:
460460

461461

462462
@pytest.fixture
463-
def event_loop(request: pytest.FixtureRequest) -> Iterator[asyncio.AbstractEventLoop]:
463+
def event_loop(request: "pytest.FixtureRequest") -> Iterator[asyncio.AbstractEventLoop]:
464464
"""Create an instance of the default event loop for each test case."""
465465
loop = asyncio.get_event_loop_policy().new_event_loop()
466466
yield loop

0 commit comments

Comments
 (0)