We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f91db08 commit c68337eCopy full SHA for c68337e
pytest_asyncio/plugin.py
@@ -632,12 +632,7 @@ def _set_event_loop(loop: AbstractEventLoop | None) -> None:
632
633
@pytest.hookimpl(tryfirst=True, hookwrapper=True)
634
def pytest_pyfunc_call(pyfuncitem: Function) -> object | None:
635
- """
636
- Pytest hook called before a test case is run.
637
-
638
- Wraps marked tests in a synchronous function
639
- where the wrapped test coroutine is executed in an event loop.
640
+ """Pytest hook called before a test case is run."""
641
if pyfuncitem.get_closest_marker("asyncio") is not None:
642
if is_async_test(pyfuncitem):
643
asyncio_mode = _get_asyncio_mode(pyfuncitem.config)
0 commit comments