def _format_error_type(error_type):
    """
    Format the text to print at the top of the assertion block.
    :param error_type: The assertion function name.
    :return:
    """
    return '{} failed:'.format(error_type.replace('_', ' ')).upper()
