Skip to content

Commit 80f6ac4

Browse files
committed
add nshards
1 parent 8b33dc3 commit 80f6ac4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_array.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1892,6 +1892,7 @@ def test_chunk_grid_shape(
18921892
assert arr.chunk_grid_shape == chunk_grid_shape
18931893
assert arr.cdata_shape == chunk_grid_shape
18941894
assert arr.shard_grid_shape == shard_grid_shape
1895+
assert arr.nshards == np.prod(shard_grid_shape)
18951896

18961897

18971898
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)