Skip to content

Commit c71645f

Browse files
authored
CI: Fix np dev build failure (#51780)
1 parent 4af5756 commit c71645f

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)