def METHOD_NAME(self, ref, reader):
    # if time_selector is not a valid index of _data, a ValueError 
    # should be raised
    with pytest.raises(ValueError):
        reader.time_selector = len(reader.auxstep._data)