Skip to content

Commit 8e5f47d

Browse files
committed
fix mypy in test_array.py
1 parent 995a5d5 commit 8e5f47d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_array.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,6 @@ async def test_sharding_coordinate_selection() -> None:
14631463
shards=(2, 4, 4),
14641464
)
14651465
arr[:] = np.arange(2 * 3 * 4).reshape((2, 3, 4))
1466-
result = arr[1, [0, 1]]
1466+
result = arr[1, [0, 1]] # type: ignore[index]
14671467
assert isinstance(result, NDArrayLike)
1468-
assert (result == np.array([[12, 13, 14, 15], [16, 17, 18, 19]])).all() # type: ignore[index]
1468+
assert (result == np.array([[12, 13, 14, 15], [16, 17, 18, 19]])).all()

0 commit comments

Comments
 (0)