def METHOD_NAME():
    # This test exposes the half-open vs full-open histogram code difference
    # between np.histogram and skbeam's histogram.
    with pytest.raises(AssertionError):
        h = Histogram((5, 0, 3))
        a = np.arange(1, 6)
        b = np.asarray([1, 1, 2, 3, 2])
        h.fill(a, weights=b)
        np_res = np.histogram(a, h.edges[0], weights=b)[0]
        assert_array_equal(h.values, np_res)