From f5c39f63271e2173409046e2ac7baffc0737512e Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Mon, 29 Jun 2026 11:29:07 +0100 Subject: [PATCH] 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. --- tests/test_table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_table.py b/tests/test_table.py index 6a9ef2cb0..cd549a227 100644 --- a/tests/test_table.py +++ b/tests/test_table.py @@ -200,7 +200,7 @@ def test_dataview_getitem(index): assert np.allclose(table.data[index], data[index]) -@pytest.mark.parametrize("index, value", zip(INDICES, VALUES)) +@pytest.mark.parametrize("index, value", list(zip(INDICES, VALUES))) def test_dataview_setitem(index, value): """Test that table.data can be indexed like a numpy array.""" np = pytest.importorskip("numpy")