Skip to content

Commit f49f027

Browse files
committed
Update test_finalize.py
1 parent 08e6fab commit f49f027

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pandas/tests/generic/test_finalize.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,7 @@
347347
operator.methodcaller("infer_objects"),
348348
),
349349
(pd.Series, ([1, 2],), operator.methodcaller("convert_dtypes")),
350-
pytest.param(
351-
(pd.DataFrame, frame_data, operator.methodcaller("convert_dtypes")),
352-
),
350+
(pd.DataFrame, frame_data, operator.methodcaller("convert_dtypes")),
353351
(pd.Series, ([1, None, 3],), operator.methodcaller("interpolate")),
354352
(pd.DataFrame, ({"A": [1, None, 3]},), operator.methodcaller("interpolate")),
355353
(pd.Series, ([1, 2],), operator.methodcaller("clip", lower=1)),
@@ -760,6 +758,7 @@ def test_groupby_finalize(obj, method):
760758
"method",
761759
[
762760
lambda x: x.agg(["sum", "count"]),
761+
lambda x: x.apply(lambda y: y),
763762
lambda x: x.agg("std"),
764763
lambda x: x.agg("var"),
765764
lambda x: x.agg("sem"),

0 commit comments

Comments
 (0)