Skip to content

Commit

Permalink
update broken gpu-ci tests for 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzamora committed Apr 22, 2024
1 parent 61d91f7 commit 63de884
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
14 changes: 13 additions & 1 deletion dask/dataframe/tests/test_dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -5184,7 +5184,19 @@ def test_datetime_loc_open_slicing():
assert_eq(df[0].loc["02.02.2015":], ddf[0].loc["02.02.2015":])


@pytest.mark.parametrize("gpu", [False, pytest.param(True, marks=pytest.mark.gpu)])
@pytest.mark.parametrize(
"gpu",
[
False,
pytest.param(
True,
marks=[
pytest.mark.gpu,
pytest.mark.xfail(DASK_EXPR_ENABLED, reason="not supported"),
],
),
],
)
def test_to_datetime(gpu):
xd = pd if not gpu else pytest.importorskip("cudf")

Expand Down
4 changes: 3 additions & 1 deletion dask/dataframe/tests/test_groupby.py
Original file line number Diff line number Diff line change
Expand Up @@ -3035,7 +3035,9 @@ def test_groupby_apply_cudf(group_keys):
)

assert_eq(res_pd, res_dd)
assert_eq(res_dd, res_dc)
# Pandas and cudf return different `index.name`
# for empty MultiIndex (use `check_names=False`)
assert_eq(res_dd, res_dc, check_names=False)


@pytest.mark.parametrize("sort", [True, False])
Expand Down
13 changes: 12 additions & 1 deletion dask/dataframe/tests/test_multi.py
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,18 @@ def test_merge_how_raises():


@pytest.mark.parametrize("parts", [(3, 3), (3, 1), (1, 3)])
@pytest.mark.parametrize("how", ["leftsemi", "leftanti"])
@pytest.mark.parametrize(
"how",
[
"leftsemi",
pytest.param(
"leftanti",
marks=pytest.mark.xfail(
DASK_EXPR_ENABLED, reason="leftanti is not supported yet"
),
),
],
)
@pytest.mark.parametrize(
"engine",
[
Expand Down

0 comments on commit 63de884

Please sign in to comment.