Skip to content

Commit

Permalink
TST: xfail clip tests under numpy-dev (#20035)
Browse files Browse the repository at this point in the history
xref #19976
  • Loading branch information
jreback committed Mar 7, 2018
1 parent 397e296 commit f6ee9ac
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pandas/tests/frame/test_analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@

from pandas.compat import lrange, product
from pandas import (compat, isna, notna, DataFrame, Series,
MultiIndex, date_range, Timestamp, Categorical)
MultiIndex, date_range, Timestamp, Categorical,
_np_version_under1p15)
import pandas as pd
import pandas.core.nanops as nanops
import pandas.core.algorithms as algorithms
Expand Down Expand Up @@ -2057,6 +2058,9 @@ def test_clip_against_list_like(self, inplace, lower, axis, res):
result = original
tm.assert_frame_equal(result, expected, check_exact=True)

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

0 comments on commit f6ee9ac

Please sign in to comment.