Skip to content

Commit

Permalink
Merge branch 'master' into then-when-target-fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
youtux authored Jul 3, 2021
2 parents 2716593 + 775b6dc commit f172bd6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
2 changes: 1 addition & 1 deletion pytest_bdd/scenario.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def decorator(*args):
@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:
Expand Down

0 comments on commit f172bd6

Please sign in to comment.