Skip to content

Commit f4a9b87

Browse files
committed
TST: xfail clip tests under numpy-dev
xref pandas-dev#19976
1 parent 397e296 commit f4a9b87

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pandas/tests/frame/test_analytics.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515

1616
from pandas.compat import lrange, product
1717
from pandas import (compat, isna, notna, DataFrame, Series,
18-
MultiIndex, date_range, Timestamp, Categorical)
18+
MultiIndex, date_range, Timestamp, Categorical,
19+
_np_version_under1p15)
1920
import pandas as pd
2021
import pandas.core.nanops as nanops
2122
import pandas.core.algorithms as algorithms
@@ -2057,6 +2058,9 @@ def test_clip_against_list_like(self, inplace, lower, axis, res):
20572058
result = original
20582059
tm.assert_frame_equal(result, expected, check_exact=True)
20592060

2061+
@pytest.mark.xfail(
2062+
not _np_version_under1p15,
2063+
reason="failing under numpy-dev gh-19976")
20602064
@pytest.mark.parametrize("axis", [0, 1, None])
20612065
def test_clip_against_frame(self, axis):
20622066
df = DataFrame(np.random.randn(1000, 2))

0 commit comments

Comments
 (0)