Skip to content

Commit c68337e

Browse files
committed
docs: Removed obsolete comment.
1 parent f91db08 commit c68337e

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pytest_asyncio/plugin.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -632,12 +632,7 @@ def _set_event_loop(loop: AbstractEventLoop | None) -> None:
632632

633633
@pytest.hookimpl(tryfirst=True, hookwrapper=True)
634634
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-
"""
635+
"""Pytest hook called before a test case is run."""
641636
if pyfuncitem.get_closest_marker("asyncio") is not None:
642637
if is_async_test(pyfuncitem):
643638
asyncio_mode = _get_asyncio_mode(pyfuncitem.config)

0 commit comments

Comments
 (0)