def test_unsuccessfulExit(self):
        result = TestResult()
        self.case.createSource = lambda testMethod: "throw new TypeError();"
        self.case.run(result)
        self.assertEqual(len(result.errors), 1)
        self.assertTrue(
            result.errors[0][1].startswith(
                'Exception: JavaScript interpreter had error exit: '))
Connection lost.
dataset/ETHPy150Open twisted/nevow/nevow/test/test_testutil.py/JavaScriptTests.test_unsuccessfulExit--crossover with--dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/external/subunit/__init__.py/_ParserState.lostConnection