Skip to content

Commit 4fe49df

Browse files
committed
Fix pytest deprecation: pass a list instead of an iterator to parametrize
1 parent 5924de4 commit 4fe49df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def test_raise_for_non_2d_array(self) -> None:
4444

4545
@pytest.mark.parametrize(
4646
("densities_type", "rows_type"),
47-
product((id_func, tuple, list), (id_func, tuple, list, np.asarray)),
47+
list(product((id_func, tuple, list), (id_func, tuple, list, np.asarray))),
4848
)
4949
def test_expected_output(
5050
self,

0 commit comments

Comments
 (0)