Skip to content

Commit 2ce086b

Browse files
committed
ENH: array types: add dask.array support
1 parent af2bb98 commit 2ce086b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scipy/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ def num_parallel_threads():
169169
# Note: dask.array main namespace is not array API compatible
170170
# (to address this, we will fix tests that use the broken dask behavior to
171171
# use the array-api-compat wrapped version instead)
172-
import dask.array as da
173-
xp_available_backends.update({'dask.array': da})
172+
import dask.array # type: ignore[import-not-found]
173+
xp_available_backends.update({'dask.array': dask.array})
174174
except ImportError:
175175
pass
176176

0 commit comments

Comments
 (0)