def METHOD_NAME():
    """Test that named numpy methods are the same as the numpy function."""
    x = np.random.randn(100)
    res_a = algo.bootstrap(x, func="mean", seed=0)
    res_b = algo.bootstrap(x, func=np.mean, seed=0)
    assert np.array_equal(res_a, res_b)
    res_a = algo.bootstrap(x, func="std", seed=0)
    res_b = algo.bootstrap(x, func=np.std, seed=0)
    assert np.array_equal(res_a, res_b)
    with pytest.raises(AttributeError):
        algo.bootstrap(x, func="not_a_method_name")