def METHOD_NAME(self):
    msg = format_exception(
        "This is a very, very, very long message that will "
        "inevitably wrap onto another line.",
        prolog="Hello world:\n    This is a prolog:",
    )
    self.assertEqual(
        msg,
        "Hello world:\n    This is a prolog:\n"
        "        This is a very, very, very long message that will inevitably "
        "wrap\n"
        "        onto another line.",
    )