Skip to content

Commit f5c39f6

Browse files
committed
Don't parameterize tests using non-Collection iterables
This is deprecated as of pytest 9.1; see https://docs.pytest.org/en/stable/deprecations.html#non-collection-iterables-in-pytest-mark-parametrize.
1 parent 2d985e7 commit f5c39f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def test_dataview_getitem(index):
200200
assert np.allclose(table.data[index], data[index])
201201

202202

203-
@pytest.mark.parametrize("index, value", zip(INDICES, VALUES))
203+
@pytest.mark.parametrize("index, value", list(zip(INDICES, VALUES)))
204204
def test_dataview_setitem(index, value):
205205
"""Test that table.data can be indexed like a numpy array."""
206206
np = pytest.importorskip("numpy")

0 commit comments

Comments
 (0)