Skip to content

Commit e26b4c1

Browse files
GH456 PR Feedback
1 parent f9863d0 commit e26b4c1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_series.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1164,7 +1164,9 @@ def func(s: pd.Series[int]) -> float:
11641164
pd.Series,
11651165
np.floating,
11661166
)
1167-
check(assert_type(s.groupby([1,1,2,2]).agg(lambda x: x.astype(float).min()), "pd.Series[float]"), pd.Series, int)
1167+
1168+
# test below passes with mypy but pyright correctly sees it as pd.Series[float]
1169+
# check(assert_type(s.groupby([1,1,2,2]).agg(lambda x: x.astype(float).min()), pd.Series), pd.Series, float)
11681170

11691171
with pytest_warns_bounded(
11701172
FutureWarning,

0 commit comments

Comments
 (0)