Skip to content

Commit

Permalink
xfail tests unstacking categorical index
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbluca committed Jul 14, 2021
1 parent 583adf6 commit 636fdb8
Showing 1 changed file with 30 additions and 5 deletions.
35 changes: 30 additions & 5 deletions python/cudf/cudf/tests/test_reshape.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,15 +393,35 @@ def test_pivot_multi_values():
"level",
[
0,
1,
pytest.param(
1,
marks=pytest.mark.xfail(
reason="Categorical column indexes not supported"
),
),
2,
"foo",
"bar",
pytest.param(
"bar",
marks=pytest.mark.xfail(
reason="Categorical column indexes not supported"
),
),
"baz",
[],
[0, 1],
pytest.param(
[0, 1],
marks=pytest.mark.xfail(
reason="Categorical column indexes not supported"
),
),
["foo"],
["foo", "bar"],
pytest.param(
["foo", "bar"],
marks=pytest.mark.xfail(
reason="Categorical column indexes not supported"
),
),
pytest.param(
[0, 1, 2],
marks=pytest.mark.xfail(reason="Pandas behaviour unclear"),
Expand Down Expand Up @@ -436,7 +456,12 @@ def test_unstack_multiindex(level):
[
pd.Index(range(0, 5), name=None),
pd.Index(range(0, 5), name="row_index"),
pd.CategoricalIndex(["d", "e", "f", "g", "h"]),
pytest.param(
pd.CategoricalIndex(["d", "e", "f", "g", "h"]),
marks=pytest.mark.xfail(
reason="Categorical column indexes not supported"
),
),
],
)
@pytest.mark.parametrize(
Expand Down

0 comments on commit 636fdb8

Please sign in to comment.