Skip to content

Commit 9f530b6

Browse files
committed
from_dlpack needs a recent NumPy fix
1 parent add0ba1 commit 9f530b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cuda_core/tests/test_event.py

+1
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ def test_error_timing_recorded():
118118

119119
# TODO: improve this once path finder can find headers
120120
@pytest.mark.skipif(os.environ.get("CUDA_PATH") is None, reason="need libcu++ header")
121+
@pytest.mark.skipif(tuple(int(i) for i in np.__version__.split(".")[:2]) < (2, 1), reason="need numpy 2.1.0+")
121122
def test_error_timing_incomplete():
122123
device = Device()
123124
device.set_current()

0 commit comments

Comments
 (0)