Skip to content

Commit 4f37d88

Browse files
test: fix parametrisation support in subprocess marker [backport 1.14] (#6087)
Backport 5d174c8 from #6085 to 1.14. A bug in the handling of the parametrize argument to the subprocess marker prevented it from generating the correct test matrix. This fix ensures that the correct matrix dictionary is generated so that all the intended test cases are actually run.
1 parent 005090a commit 4f37d88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def unwind_params(params):
147147
yield None
148148
return
149149

150-
for _ in product(*(((k, v) for v in vs) for k, vs in params.items())):
150+
for _ in product(*([(k, v) for v in vs] for k, vs in params.items())):
151151
yield dict(_)
152152

153153

0 commit comments

Comments
 (0)