Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
  • Loading branch information
cmp0xff committed Jul 30, 2025
commit fe5f1a9036102a136f82557c7b3e3ace937803a7
2 changes: 2 additions & 0 deletions tests/test_indexes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1042,6 +1042,8 @@ def test_append_mix() -> None:
check(assert_type(first.append([third]), pd.Index), pd.Index)
check(assert_type(first.append([second, third]), pd.Index), pd.Index)

# mypy thinks the following two are of the type `Index[Any]`, whereas
# pyright recognises them as `Index[int | str]`
check(
assert_type( # type: ignore[assert-type]
third.append([]), "pd.Index[int | str]"
Expand Down
Loading