Skip to content

Commit fd87ab0

Browse files
committed
fix np122
1 parent b68cde5 commit fd87ab0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_all.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import builtins
44

5+
import numpy as np
56
import pytest
67

78
from ._helpers import wrapped_libraries
@@ -220,6 +221,7 @@
220221
}
221222

222223
XFAILS = {
224+
("numpy", ""): ["from_dlpack"] if np.__version < "1.23" else [],
223225
("dask.array", ""): ["from_dlpack", "take_along_axis"],
224226
("dask.array", "linalg"): [
225227
"cross",

0 commit comments

Comments
 (0)