def METHOD_NAME(f):
    print('> testing {0}'.format(str(f)))
    # reset Errors singleton
    errors = Errors()
    errors.reset()
    pyccel = Parser(f)
    ast = pyccel.parse()
    settings = {}
    ast = pyccel.annotate(**settings)
    assert(errors.has_errors())