Skip to content

Commit cafdfda

Browse files
authored
xfail df
1 parent 31a3e4e commit cafdfda

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tests/test_core.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
from __future__ import annotations
22

33
import boost_histogram as bh
4+
import dask
45
import dask.array as da
56
import dask.array.utils as dau
7+
import dask_histogram.core as dhc
68
import numpy as np
79
import pytest
810
from dask.delayed import delayed
911

10-
import dask_histogram.core as dhc
11-
1212

1313
def _gen_storage(weights, sample):
1414
if weights is not None and sample is not None:
@@ -123,7 +123,10 @@ def test_nd_array(weights):
123123
)
124124
np.testing.assert_allclose(h.counts(flow=True), dh.compute().counts(flow=True))
125125

126-
126+
@pytest.mark.xfail(
127+
dask.__version__.startswith("2025"),
128+
reason="major backwards incompatible changes to dataframe",
129+
)
127130
@pytest.mark.parametrize("weights", [True, None])
128131
def test_df_input(weights):
129132
pytest.importorskip("pandas")

0 commit comments

Comments
 (0)