Skip to content

Commit 7ceca1a

Browse files
Backport PR pandas-dev#51780 on branch 2.0.x (CI: Fix np dev build failure) (pandas-dev#51785)
Backport PR pandas-dev#51780: CI: Fix np dev build failure Co-authored-by: Patrick Hoefler <[email protected]>
1 parent d957726 commit 7ceca1a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/tests/apply/test_frame_apply_relabeling.py

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
import numpy as np
2+
import pytest
3+
4+
from pandas.compat import is_numpy_dev
25

36
import pandas as pd
47
import pandas._testing as tm
@@ -42,6 +45,7 @@ def test_agg_relabel_multi_columns_multi_methods():
4245
tm.assert_frame_equal(result, expected)
4346

4447

48+
@pytest.mark.xfail(is_numpy_dev, reason="name of min now equals name of np.min")
4549
def test_agg_relabel_partial_functions():
4650
# GH 26513, test on partial, functools or more complex cases
4751
df = pd.DataFrame({"A": [1, 2, 1, 2], "B": [1, 2, 3, 4], "C": [3, 4, 5, 6]})

0 commit comments

Comments
 (0)