def METHOD_NAME():
    """Test based on issue #1838
    This is just a regression test to document the current behavior.
    """
    x1 = np.asarray([1, 2.5, 3])
    x2 = np.asarray([2.5, 3, 4])
    y = np.asarray([12, 3, 15])
    # based on https://github.com/numpy/numpy/issues/17325
    assert np.issubdtype(x1.dtype, np.floating)
    assert np.issubdtype(x2.dtype, np.floating)
    assert np.issubdtype(y.dtype, np.integer)
    xh, yh = histogram_line(x1, x2, y)
    assert np.issubdtype(xh.dtype, np.floating)
    assert np.issubdtype(yh.dtype, np.integer)
    assert xh == pytest.approx([1, 2.5, 2.5, 3, 3, 4])
    assert yh == pytest.approx([12, 12, 3, 3, 15, 15])