def METHOD_NAME():
    """Coordinates get_nearest* methods"""
    coords = pf.Coordinates(np.arange(6), 0, 0)
    if version.parse(pf.__version__) >= version.parse('0.5.0'):
        with pytest.raises(AttributeError):
            # remove get_nearest_k() from pyfar 0.5.0!
            coords.get_nearest_k(1, 0, 0)
    if version.parse(pf.__version__) >= version.parse('0.5.0'):
        with pytest.raises(AttributeError):
            # remove get_nearest_k() from pyfar 0.5.0!
            coords.get_nearest_cart(2.5, 0, 0, 1.5)
    if version.parse(pf.__version__) >= version.parse('0.5.0'):
        with pytest.raises(AttributeError):
            # remove get_nearest_k() from pyfar 0.5.0!
            coords.get_nearest_sph(0, 0, 1, 1)
    if version.parse(pf.__version__) >= version.parse('0.5.0'):
        with pytest.raises(AttributeError):
            # remove get_slice() from pyfar 0.5.0!
            coords.get_slice('x', 'met', 0, 1)