Skip to content

Commit e460dad

Browse files
authored
minor change to expand variable name
1 parent b9f16d9 commit e460dad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/environment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def reduce_db_outcomes(feature_outcomes):
9090
outcome_counts = Counter(outcome.severity for outcome in context.gherkin_outcomes)
9191
for severity in [OutcomeSeverity.PASSED, OutcomeSeverity.EXECUTED, OutcomeSeverity.NOT_APPLICABLE]:
9292
if outcome_counts[severity] > 0:
93-
yield next(o for o in context.gherkin_outcomes if o.severity == severity)
93+
yield next(outcome for outcome in context.gherkin_outcomes if outcome.severity == severity)
9494
break
9595

9696
outcomes_to_save = list(reduce_db_outcomes(context.gherkin_outcomes))

0 commit comments

Comments
 (0)