Skip to content

Commit

Permalink
more xfails
Browse files Browse the repository at this point in the history
  • Loading branch information
lgray authored Feb 8, 2025
1 parent 4d0007b commit dc87ab7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import numpy as np
import pytest
from dask.delayed import delayed
from packaging.version import parse as parse_version

import dask_histogram.core as dhc

Expand Down Expand Up @@ -124,6 +125,10 @@ def test_nd_array(weights):
np.testing.assert_allclose(h.counts(flow=True), dh.compute().counts(flow=True))


@pytest.mark.xfail(
parse_version(dask.__version__) >= parse_version("2025"),
reason="dask dataframe changed substantially in 2025.1.0",
)
@pytest.mark.parametrize("weights", [True, None])
def test_df_input(weights):
pytest.importorskip("pandas")
Expand Down

0 comments on commit dc87ab7

Please sign in to comment.