@@ -70,9 +70,6 @@ def test_frame_groupby_resample() -> None:
7070 DataFrame ,
7171 )
7272
73- # props
74- check (assert_type (GB_DF .resample ("ME" ).obj , DataFrame ), DataFrame )
75-
7673 # agg funcs
7774 with pytest_warns_bounded (
7875 FutureWarning ,
@@ -312,9 +309,6 @@ def test_series_groupby_resample() -> None:
312309 Series ,
313310 )
314311
315- # props
316- check (assert_type (GB_S .resample ("ME" ).obj , "Series[float]" ), Series , float )
317-
318312 # agg funcs
319313 check (assert_type (GB_S .resample ("ME" ).sum (), "Series[float]" ), Series , float )
320314 check (assert_type (GB_S .resample ("ME" ).prod (), "Series[float]" ), Series , float )
@@ -471,7 +465,6 @@ def test_frame_groupby_rolling() -> None:
471465 )
472466
473467 # props
474- check (assert_type (GB_DF .rolling (1 ).obj , DataFrame ), DataFrame )
475468 check (assert_type (GB_DF .rolling (1 ).on , str | Index | None ), type (None ))
476469 check (assert_type (GB_DF .rolling (1 ).method , Literal ["single" , "table" ]), str )
477470 if PD_LTE_23 :
@@ -596,9 +589,6 @@ def test_series_groupby_rolling() -> None:
596589 Series ,
597590 )
598591
599- # props
600- check (assert_type (GB_S .rolling (1 ).obj , "Series[float]" ), Series , float )
601-
602592 # agg funcs
603593 check (assert_type (GB_S .rolling (1 ).sum (), "Series[float]" ), Series , float )
604594 check (assert_type (GB_S .rolling (1 ).min (), "Series[float]" ), Series , float )
@@ -666,7 +656,6 @@ def test_frame_groupby_expanding() -> None:
666656 )
667657
668658 # props
669- check (assert_type (GB_DF .expanding (1 ).obj , DataFrame ), DataFrame )
670659 check (assert_type (GB_DF .expanding (1 ).on , str | Index | None ), type (None ))
671660 check (assert_type (GB_DF .expanding (1 ).method , Literal ["single" , "table" ]), str )
672661 if PD_LTE_23 :
@@ -795,9 +784,6 @@ def test_series_groupby_expanding() -> None:
795784 Series ,
796785 )
797786
798- # props
799- check (assert_type (GB_S .expanding (1 ).obj , "Series[float]" ), Series , float )
800-
801787 # agg funcs
802788 check (assert_type (GB_S .expanding (1 ).sum (), "Series[float]" ), Series , float )
803789 check (assert_type (GB_S .expanding (1 ).min (), "Series[float]" ), Series , float )
@@ -865,7 +851,6 @@ def test_frame_groupby_ewm() -> None:
865851 )
866852
867853 # props
868- check (assert_type (GB_DF .ewm (1 ).obj , DataFrame ), DataFrame )
869854 check (assert_type (GB_DF .ewm (1 ).on , str | Index | None ), type (None ))
870855 check (assert_type (GB_DF .ewm (1 ).method , Literal ["single" , "table" ]), str )
871856 if PD_LTE_23 :
@@ -973,9 +958,6 @@ def test_series_groupby_ewm() -> None:
973958 Series ,
974959 )
975960
976- # props
977- check (assert_type (GB_S .ewm (1 ).obj , "Series[float]" ), Series , float )
978-
979961 # agg funcs
980962 check (assert_type (GB_S .ewm (1 ).sum (), "Series[float]" ), Series , float )
981963 check (assert_type (GB_S .ewm (1 ).mean (), "Series[float]" ), Series , float )
0 commit comments