Skip to content

Commit

Permalink
xfail function raising UserWarning: dask-expr does not support DataFr…
Browse files Browse the repository at this point in the history
…ameIOFunction protocol

xref dask/dask-expr#945
  • Loading branch information
milesgranger committed Mar 7, 2024
1 parent 2dad55d commit 4c6d488
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions distributed/tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -6444,6 +6444,9 @@ async def test_wait_for_workers(c, s, a, b):
assert "1 ms" in str(info.value)


@pytest.mark.xfail(
reason="https://github.com/dask-contrib/dask-expr/issues/945", raises=UserWarning
)
@pytest.mark.skipif(WINDOWS, reason="num_fds not supported on windows")
@pytest.mark.skipif(MACOS, reason="dask/distributed#8075")
@pytest.mark.parametrize(
Expand Down Expand Up @@ -6557,6 +6560,9 @@ async def test_config_inherited_by_subprocess():
assert await c.submit(dask.config.get, "foo") == 100


@pytest.mark.xfail(
reason="https://github.com/dask-contrib/dask-expr/issues/945", raises=UserWarning
)
@gen_cluster(client=True)
async def test_futures_of_sorted(c, s, a, b):
pytest.importorskip("dask.dataframe")
Expand Down
3 changes: 3 additions & 0 deletions distributed/tests/test_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -3446,6 +3446,9 @@ def get_data(self, comm, **kwargs):
return super().get_data(comm, **kwargs)


@pytest.mark.xfail(
reason="https://github.com/dask-contrib/dask-expr/issues/945", raises=UserWarning
)
@pytest.mark.slow
@gen_cluster(client=True, Worker=BreakingWorker)
async def test_broken_comm(c, s, a, b):
Expand Down

0 comments on commit 4c6d488

Please sign in to comment.