diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ec5742b..a93974b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,18 +2,18 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/psf/black - rev: 21.4b0 + rev: 21.6b0 hooks: - id: black - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.4.0 + rev: v4.0.1 hooks: - id: trailing-whitespace - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files - repo: https://github.com/asottile/pyupgrade - rev: v2.13.0 + rev: v2.19.4 hooks: - id: pyupgrade args: [--py36-plus] diff --git a/pytest_bdd/scenario.py b/pytest_bdd/scenario.py index 2b9c6f2..5a8729d 100644 --- a/pytest_bdd/scenario.py +++ b/pytest_bdd/scenario.py @@ -163,7 +163,7 @@ def _get_scenario_decorator(feature, feature_name, scenario, scenario_name): @pytest.mark.usefixtures(*function_args) def scenario_wrapper(request): _execute_scenario(feature, scenario, request) - return fn(*[request.getfixturevalue(arg) for arg in args]) + return fn(*(request.getfixturevalue(arg) for arg in args)) for param_set in scenario.get_params(): if param_set: