Skip to content

TST: strictly xfail #38901

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

Merged
merged 6 commits into from
Jan 3, 2021
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
One more revert
  • Loading branch information
rhshadrach committed Jan 2, 2021
commit 56838166deda7ff850b10305e03f297d32cc1c7c
6 changes: 2 additions & 4 deletions pandas/tests/series/indexing/test_where.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ def test_where_categorical(klass):
tm.assert_equal(exp, res)


def test_where_datetimelike_categorical(request, tz_naive_fixture):
def test_where_datetimelike_categorical(tz_naive_fixture):
# GH#37682
tz = tz_naive_fixture

Expand All @@ -492,9 +492,7 @@ def test_where_datetimelike_categorical(request, tz_naive_fixture):
if tz is None:
res = pd.DataFrame(lvals).where(mask[:, None], pd.DataFrame(rvals))
else:
with request.node.add_marker(
pytest.mark.xfail(reason="frame._values loses tz")
):
with pytest.xfail(reason="frame._values loses tz"):
res = pd.DataFrame(lvals).where(mask[:, None], pd.DataFrame(rvals))

tm.assert_frame_equal(res, pd.DataFrame(dr))