Skip to content

Commit

Permalink
ignore UserWarning: dask-expr does not support DataFrameIOFunction pr…
Browse files Browse the repository at this point in the history
…otocol

xref dask/dask-expr#945
  • Loading branch information
milesgranger committed Mar 7, 2024
1 parent 286903d commit f71ea01
Show file tree
Hide file tree
Showing 3 changed files with 11 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
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ addopts = '''
-p no:legacypath'''
filterwarnings = [
"error",
# https://github.com/dask-contrib/dask-expr/issues/945
'''ignore:dask_expr does not support the DataFrameIOFunction''',
'''ignore:Please use `dok_matrix` from the `scipy\.sparse` namespace, the `scipy\.sparse\.dok` namespace is deprecated.:DeprecationWarning''',
'''ignore:elementwise comparison failed. this will raise an error in the future:DeprecationWarning''',
'''ignore:unclosed <socket\.socket.*:ResourceWarning''',
Expand Down

0 comments on commit f71ea01

Please sign in to comment.