def METHOD_NAME():
    '''Call a function with some invalid GDL code'''
    code = '''
    PRO invalid_code
       this_is_invalid
    end
    '''
    with GDLFile(code) as name:
        with pytest.raises(GDL.error):
            GDL.pro(name,ret)