Skip to content

Commit fa35e90

Browse files
committed
CI: some dask tests require numpy >= 3.12
1 parent d9c3646 commit fa35e90

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_dask.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import sys
12
from contextlib import contextmanager
23

34
import numpy as np
@@ -167,6 +168,10 @@ def test_sort_argsort_chunk_size(xp, func, shape, chunks):
167168
)
168169

169170

171+
@pytest.mark.skipif(
172+
sys.version_info.major*100 + sys.version_info.minor < 312,
173+
reason="dask interop requires numpy >= 3.12"
174+
)
170175
@pytest.mark.parametrize("func", ["sort", "argsort"])
171176
def test_sort_argsort_meta(xp, func):
172177
"""Test meta-namespace other than numpy"""

0 commit comments

Comments
 (0)