We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bce5dcc commit ce4e55dCopy full SHA for ce4e55d
tests/test_common.py
@@ -206,7 +206,8 @@ def test_asarray_copy(library):
206
a[0] = 0.0
207
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
+ # dask changed behaviour of copy=None in 2024.12 to copy;
210
+ # this wrapper ensures the same behaviour in older versions too.
211
# https://github.com/dask/dask/pull/11524/
212
assert all(b[0] == 1.0)
213
else:
0 commit comments