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 092396e commit 83d5ad9Copy full SHA for 83d5ad9
pytest_asyncio/plugin.py
@@ -310,7 +310,7 @@ async def setup():
310
yield
311
312
313
-def get_timeout(obj):
+def _get_timeout(obj):
314
"""
315
Get the timeout for the provided test function.
316
@@ -348,7 +348,7 @@ def pytest_pyfunc_call(pyfuncitem):
348
Wraps marked tests in a synchronous function where the wrapped test coroutine is executed in an event loop.
349
350
if "asyncio" in pyfuncitem.keywords:
351
- timeout = get_timeout(pyfuncitem)
+ timeout = _get_timeout(pyfuncitem)
352
if getattr(pyfuncitem.obj, "is_hypothesis_test", False):
353
pyfuncitem.obj.hypothesis.inner_test = wrap_in_sync(
354
pyfuncitem.obj.hypothesis.inner_test,
0 commit comments