def test_ckdtree_box_upper_bounds():
    data = np.linspace(0, 2, 10).reshape(-1, 1)
    try:
        cKDTree(data, leafsize=1, boxsize=1.0)
    except __HOLE__:
        return
    raise AssertionError("ValueError is not raised")
dataset/ETHPy150Open scipy/scipy/scipy/spatial/tests/test_kdtree.py/test_ckdtree_box_upper_bounds