Skip to content

Commit

Permalink
xfail empty string in test_unpivot (#1113)
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamConnors authored Oct 2, 2024
1 parent cfd5768 commit afa7395
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/frame/unpivot_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ def test_unpivot_var_value_names(
constructor: Constructor,
variable_name: str | None,
value_name: str | None,
request: pytest.FixtureRequest,
) -> None:
if variable_name == "" and "cudf" in str(constructor):
request.applymarker(pytest.mark.xfail)

df = nw.from_native(constructor(data))
result = df.unpivot(
on=["b", "c"], index=["a"], variable_name=variable_name, value_name=value_name
Expand Down

0 comments on commit afa7395

Please sign in to comment.