Skip to content

Commit d9ba285

Browse files
TST: add test for apply/reconstruct_func (#51705)
1 parent 455ffb2 commit d9ba285

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pandas/tests/apply/test_frame_apply_relabeling.py

+8
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,11 @@ def test_agg_namedtuple():
9595
index=pd.Index(["foo", "bar", "cat"]),
9696
)
9797
tm.assert_frame_equal(result, expected)
98+
99+
100+
def test_reconstruct_func():
101+
# GH 28472, test to ensure reconstruct_func isn't moved;
102+
# This method is used by other libraries (e.g. dask)
103+
result = pd.core.apply.reconstruct_func("min")
104+
expected = (False, "min", None, None)
105+
tm.assert_equal(result, expected)

0 commit comments

Comments
 (0)