We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7b4111 commit 2442a92Copy full SHA for 2442a92
tests/test_common.py
@@ -204,8 +204,10 @@ def test_asarray_copy(library):
204
b = asarray(a, copy=None)
205
assert is_lib_func(b)
206
a[0] = 0.0
207
- if library == 'cupy':
+ if library in ('cupy', 'dask.array'):
208
# A copy is required for libraries where the default device is not CPU
209
+ # dask made a breaking change in 2024.12: copy=None copies
210
+ # https://github.com/dask/dask/pull/11524/
211
assert all(b[0] == 1.0)
212
else:
213
assert all(b[0] == 0.0)
0 commit comments