Skip to content

Commit 2b70d0d

Browse files
committed
assert that the type matches
1 parent cb67094 commit 2b70d0d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,4 +1156,6 @@ def test_gpu_basic(store: Store, zarr_format: ZarrFormat | None) -> None:
11561156
z[:10, :10] = src[:10, :10]
11571157

11581158
result = z[:10, :10]
1159+
# assert_array_equal doesn't check the type
1160+
assert isinstance(result, type(src))
11591161
cp.testing.assert_array_equal(result, src[:10, :10])

0 commit comments

Comments
 (0)