Skip to content

Commit 974f492

Browse files
shaypal5Copilot
andcommitted
Update tests/test_numpy_hash.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 7f909bd commit 974f492

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/test_numpy_hash.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@
99
np = pytest.importorskip("numpy")
1010

1111

12-
@pytest.mark.parametrize("backend", ["memory", "pickle"])
12+
@pytest.mark.parametrize(
13+
"backend",
14+
[
15+
pytest.param("memory", marks=pytest.mark.memory),
16+
pytest.param("pickle", marks=pytest.mark.pickle),
17+
],
18+
)
1319
def test_default_hash_func_uses_array_content_for_cache_keys(backend, tmp_path):
1420
"""Verify equal arrays map to a cache hit and different arrays miss."""
1521
call_count = 0

0 commit comments

Comments
 (0)