@unittest.skipIf(is_jython, "FIXME: Jython lexer not catching bad '!'")
    def test_caret(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
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_traceback.py/TracebackCases.test_caret/operator `==` -> `!=`