def METHOD_NAME():
    arr = np.empty((1,), dtype=object)
    # set_first_element cannot change the input array
    with pytest.raises(ValueError):
        set_first_element(42, arr)
    # afterwards, we can
    arr[0] = 42
    assert arr[0] == 42