Skip to content

Commit efbd400

Browse files
committed
Revert "Only test sparse when it can actually be imported."
This reverts commit 44681b6.
1 parent 44681b6 commit efbd400

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/_helpers.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
all_libraries.append('sparse')
1515

1616
def import_(library, wrapper=False):
17-
# CuPy requires a GPU
18-
# `sparse` has a dependency conflict with NumPy 1.21
19-
if library in {'cupy', 'sparse'}:
17+
if library == 'cupy':
2018
pytest.importorskip(library)
2119
if wrapper:
2220
if 'jax' in library:

0 commit comments

Comments
 (0)