We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sparse
1 parent 855756d commit 9c40867Copy full SHA for 9c40867
tests/_helpers.py
@@ -1,4 +1,5 @@
1
from importlib import import_module
2
+import sys
3
4
import pytest
5
@@ -8,6 +9,10 @@
8
9
if np.__version__[0] == '1':
10
wrapped_libraries.append("numpy")
11
12
+# `sparse` added array API support as of Python 3.10.
13
+if sys.version_info >= (3, 10):
14
+ all_libraries.append('sparse')
15
+
16
def import_(library, wrapper=False):
17
if library == 'cupy':
18
pytest.importorskip(library)
0 commit comments