def METHOD_NAME(self) -> None:
    message = 'Failure Message'
    red_color_message_prefix = '\033[91m'
    escape_sequence = '\033[0m'
    with self.print_swap:
        linter_utils.print_failure_message(message)
    self.assertEqual(
        self.log,
        red_color_message_prefix + message + escape_sequence)