Skip to content

Commit ca0efed

Browse files
Coerce getting params names as list on get_parametrize_params
1 parent e016791 commit ca0efed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytest_bdd/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,4 +139,4 @@ def _coerce_list(names):
139139
# As pytest.mark.parametrize has only one param name,
140140
# it is not returned as a list. Convert it to list:
141141
names = [names]
142-
return names
142+
return list(names)

0 commit comments

Comments
 (0)