Skip to content

Commit b0af4a7

Browse files
committed
all async oindex tests
1 parent 7fe1ffd commit b0af4a7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

tests/test_indexing.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2015,7 +2015,7 @@ class TestAsync:
20152015
((0, ...), np.array([1, 2])),
20162016
((..., 0), np.array([1, 3])),
20172017
((0, 1, ...), np.array(2)),
2018-
# TODO combined
2018+
# combined
20192019
((0, slice(None)), np.array([1, 2])),
20202020
((slice(None), 0), np.array([1, 3])),
20212021
((slice(None), slice(None)), np.array([[1, 2], [3, 4]])),
@@ -2025,7 +2025,11 @@ class TestAsync:
20252025
(([0], [1]), np.array(2)),
20262026
(([0, 1], [0]), np.array([[1], [3]])),
20272027
(([0, 1], [0, 1]), np.array([[1, 2], [3, 4]])),
2028-
# TODO boolean array
2028+
# boolean array
2029+
(np.array([True, True]), np.array([[1, 2], [3, 4]])),
2030+
(np.array([True, False]), np.array([[1, 2]])),
2031+
(np.array([False, True]), np.array([[3, 4]])),
2032+
(np.array([False, False]), np.empty(shape=(0, 2), dtype="i8")),
20292033
],
20302034
)
20312035
@pytest.mark.asyncio

0 commit comments

Comments
 (0)