Skip to content

Commit 815e68f

Browse files
committed
extra test cases
1 parent 29ba4a2 commit 815e68f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/indexes/test_indexes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,10 @@ def test_index_isin() -> None:
6565

6666
mi = pd.MultiIndex.from_arrays([[1, 2, 3]])
6767
check(assert_type(mi.isin([[3]]), np_1darray_bool), np_1darray_bool)
68+
check(assert_type(mi.isin({iter([3])}), np_1darray_bool), np_1darray_bool)
6869
if TYPE_CHECKING_INVALID_USAGE:
6970
mi.isin({3}) # type: ignore[arg-type] # pyright: ignore[reportArgumentType]
71+
mi.isin(iter([[3]])) # type: ignore[arg-type] # pyright: ignore[reportArgumentType]
7072

7173

7274
def test_index_astype() -> None:

0 commit comments

Comments
 (0)