diff --git a/tests/test_boost.py b/tests/test_boost.py index 7ee5d44..352205a 100644 --- a/tests/test_boost.py +++ b/tests/test_boost.py @@ -568,6 +568,7 @@ def test_boost_output_pickles(): o = dask.compute(h) pickle.dumps(o) + def test_155_boost_factory(): import boost_histogram as bh import dask_awkward as dak @@ -576,9 +577,9 @@ def test_155_boost_factory(): import dask_histogram as dh arr = dak.from_lists([list(range(10))] * 3) - axis = bh.axis.Regular(10, 0., 10.) + axis = bh.axis.Regular(10, 0.0, 10.0) hist = dh.factory( arr, axes=(axis,), ).compute() - assert np.all(hist.values() == [3., 3., 3., 3., 3., 3., 3., 3., 3., 3.]) + assert np.all(hist.values() == [3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0, 3.0])