Skip to content

Commit d1c68f8

Browse files
committed
refactor: Remove obsolete function _add_kwargs
1 parent cf3cd4c commit d1c68f8

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

pytest_asyncio/plugin.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -247,18 +247,6 @@ def _fixture_synchronizer(
247247
return fixturedef.func
248248

249249

250-
def _add_kwargs(
251-
func: Callable[..., Any],
252-
kwargs: dict[str, Any],
253-
request: FixtureRequest,
254-
) -> dict[str, Any]:
255-
sig = inspect.signature(func)
256-
ret = kwargs.copy()
257-
if "request" in sig.parameters:
258-
ret["request"] = request
259-
return ret
260-
261-
262250
AsyncGenFixtureParams = ParamSpec("AsyncGenFixtureParams")
263251
AsyncGenFixtureYieldType = TypeVar("AsyncGenFixtureYieldType")
264252

0 commit comments

Comments
 (0)