We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29ba4a2 commit 815e68fCopy full SHA for 815e68f
tests/indexes/test_indexes.py
@@ -65,8 +65,10 @@ def test_index_isin() -> None:
65
66
mi = pd.MultiIndex.from_arrays([[1, 2, 3]])
67
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)
69
if TYPE_CHECKING_INVALID_USAGE:
70
mi.isin({3}) # type: ignore[arg-type] # pyright: ignore[reportArgumentType]
71
+ mi.isin(iter([[3]])) # type: ignore[arg-type] # pyright: ignore[reportArgumentType]
72
73
74
def test_index_astype() -> None:
0 commit comments