Skip to content

Commit ce4e55d

Browse files
ev-brcrusaderky
andauthored
Update tests/test_common.py
Co-authored-by: crusaderky <[email protected]>
1 parent bce5dcc commit ce4e55d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_common.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,8 @@ def test_asarray_copy(library):
206206
a[0] = 0.0
207207
if library in ('cupy', 'dask.array'):
208208
# 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
209+
# dask changed behaviour of copy=None in 2024.12 to copy;
210+
# this wrapper ensures the same behaviour in older versions too.
210211
# https://github.com/dask/dask/pull/11524/
211212
assert all(b[0] == 1.0)
212213
else:

0 commit comments

Comments
 (0)