diff --git a/README.rst b/README.rst index 402d84dc..d7c82615 100644 --- a/README.rst +++ b/README.rst @@ -260,6 +260,7 @@ Changelog 0.18.2 (Unreleased) ~~~~~~~~~~~~~~~~~~~ - Fix asyncio auto mode not marking static methods. `#295 `_ +- Fix a compatibility issue with Hypothesis 6.39.0. `#302 `_ 0.18.1 (22-02-10) diff --git a/pytest_asyncio/plugin.py b/pytest_asyncio/plugin.py index c31683ab..187f51da 100644 --- a/pytest_asyncio/plugin.py +++ b/pytest_asyncio/plugin.py @@ -432,8 +432,8 @@ def wrap_in_sync( func = raw_func @functools.wraps(func) - def inner(**kwargs): - coro = func(**kwargs) + def inner(*args, **kwargs): + coro = func(*args, **kwargs) if not inspect.isawaitable(coro): pyfuncitem.warn( pytest.PytestWarning(