Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TST: xfail numpy-dev clip failures #20035

Merged
merged 1 commit into from
Mar 7, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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