Skip to content

Commit b0b9401

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a47c25e commit b0b9401

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pytest_bdd/scenario.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@ def parse_step_arguments(step: Step, context: StepFunctionContext) -> dict[str,
188188
"""Parse step arguments."""
189189
parsed_args = context.parser.parse_arguments(step.name)
190190

191-
assert (
192-
parsed_args is not None
193-
), f"Unexpected `NoneType` returned from parse_arguments(...) in parser: {context.parser!r}"
191+
assert parsed_args is not None, (
192+
f"Unexpected `NoneType` returned from parse_arguments(...) in parser: {context.parser!r}"
193+
)
194194

195195
reserved_args = set(parsed_args.keys()) & STEP_ARGUMENTS_RESERVED_NAMES
196196
if reserved_args:

0 commit comments

Comments
 (0)