def METHOD_NAME(self):
    err = self.get_exception_format(self.syntax_error_with_caret,
                                    SyntaxError)
    self.assert_(len(err) == 4)
    self.assert_(err[1].strip() == "return x!")
    self.assert_("^" in err[2]) # third line has caret
    self.assert_(err[1].find("!") == err[2].find("^")) # in the right place