Skip to content

Commit a427a16

Browse files
committed
silence mypy error about array indexing
1 parent 1831f20 commit a427a16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1479,4 +1479,4 @@ async def test_sharding_coordinate_selection() -> None:
14791479
shards=(2, 4, 4),
14801480
)
14811481
arr[:] = np.arange(2 * 3 * 4).reshape((2, 3, 4))
1482-
assert (arr[1, [0, 1]] == np.array([[12, 13, 14, 15], [16, 17, 18, 19]])).all()
1482+
assert (arr[1, [0, 1]] == np.array([[12, 13, 14, 15], [16, 17, 18, 19]])).all() # type: ignore[index]

0 commit comments

Comments
 (0)