We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0318c3 commit 59afabfCopy full SHA for 59afabf
pytest_asyncio/plugin.py
@@ -756,11 +756,10 @@ def pytest_generate_tests(metafunc: Metafunc) -> None:
756
)
757
758
759
-# TODO: #778 Narrow down return type of function when dropping support for pytest 7
760
@pytest.hookimpl(hookwrapper=True)
761
def pytest_fixture_setup(
762
fixturedef: FixtureDef,
763
-) -> Generator[None, Any, None]:
+) -> Generator[None, pluggy.Result, None]:
764
"""Adjust the event loop policy when an event loop is produced."""
765
if fixturedef.argname == "event_loop":
766
# The use of a fixture finalizer is preferred over the
0 commit comments