We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f724fab commit 927f376Copy full SHA for 927f376
pytest_asyncio/plugin.py
@@ -153,8 +153,9 @@ async def setup():
153
@pytest.hookimpl(tryfirst=True, hookwrapper=True)
154
def pytest_pyfunc_call(pyfuncitem):
155
"""
156
- Run asyncio marked test functions in an event loop instead of a normal
157
- function call.
+ Pytest hook called before a test case is run.
+
158
+ Wraps marked tests in a synchronous function where the wrapped test coroutine is executed in an event loop.
159
160
if "asyncio" in pyfuncitem.keywords:
161
if getattr(pyfuncitem.obj, "is_hypothesis_test", False):
0 commit comments