Skip to content

Commit fdaa258

Browse files
committed
pyright
1 parent a652789 commit fdaa258

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

pandas-stubs/core/window/rolling.pyi

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from collections.abc import (
22
Callable,
3-
Hashable,
43
Iterator,
54
)
65
import datetime as dt

tests/series/test_series.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,17 +1054,13 @@ def test_groupby_result() -> None:
10541054
check(assert_type(value4, "pd.Series[int]"), pd.Series, np.integer)
10551055

10561056
# Want to make sure these cases are differentiated
1057-
for (_k1, _k2), _g in s.groupby( # pyright: ignore[reportUnknownVariableType]
1058-
["a", "b"]
1059-
):
1057+
for (_k1, _k2), _g in s.groupby(["a", "b"]):
10601058
pass
10611059

10621060
for _kk, _g in s.groupby("a"):
10631061
pass
10641062

1065-
for (_k1, _k2), _g in s.groupby( # pyright: ignore[reportUnknownVariableType]
1066-
multi_index
1067-
):
1063+
for (_k1, _k2), _g in s.groupby(multi_index):
10681064
pass
10691065

10701066

0 commit comments

Comments
 (0)