parameters: (output, ignore_by_output_fun)
return_statement: return False
docstring: Print failure state and return if ignore_by_output_fun matches output.
docstring_summary: Print failure state and return if ignore_by_output_fun matches output.
docstring_tokens: Print failure state and return if ignore_by_output_fun matches output .
function: def fail_bailout(output, ignore_by_output_fun):
    """Print failure state and return if ignore_by_output_fun matches output."""
    bug = (ignore_by_output_fun(output.stdout) or '').strip()
    if bug:
      print(FAILURE_HEADER_TEMPLATE % dict(
          configs='', source_key='', suppression=bug))
      return True
    return False
function_tokens: def fail_bailout ( output , ignore_by_output_fun ) : bug = ( ignore_by_output_fun ( output . stdout ) or '' ) . strip ( ) if bug : print ( FAILURE_HEADER_TEMPLATE % dict ( configs = '' , source_key = '' , suppression = bug ) ) return True return False