Skip to content

Commit 83d5ad9

Browse files
committed
rename
1 parent 092396e commit 83d5ad9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pytest_asyncio/plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ async def setup():
310310
yield
311311

312312

313-
def get_timeout(obj):
313+
def _get_timeout(obj):
314314
"""
315315
Get the timeout for the provided test function.
316316
@@ -348,7 +348,7 @@ def pytest_pyfunc_call(pyfuncitem):
348348
Wraps marked tests in a synchronous function where the wrapped test coroutine is executed in an event loop.
349349
"""
350350
if "asyncio" in pyfuncitem.keywords:
351-
timeout = get_timeout(pyfuncitem)
351+
timeout = _get_timeout(pyfuncitem)
352352
if getattr(pyfuncitem.obj, "is_hypothesis_test", False):
353353
pyfuncitem.obj.hypothesis.inner_test = wrap_in_sync(
354354
pyfuncitem.obj.hypothesis.inner_test,

0 commit comments

Comments
 (0)