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