Skip to content

Commit 166c650

Browse files
committed
Update test to test that CuPy does not handle copy=False
1 parent f57ac54 commit 166c650

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_common.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@ def test_asarray_copy(library):
9595

9696
if library == 'numpy' and xp.__version__[0] < '2' and not hasattr(xp, '_CopyMode') :
9797
supports_copy_false = False
98+
elif library == 'cupy':
99+
supports_copy_false = False
98100
else:
99101
supports_copy_false = True
100102

0 commit comments

Comments
 (0)