void () { Assume.assumeFalse("Don't run under Windows", UsefulTestCase.IS_UNDER_TEAMCITY && SystemInfo.isWindows); runPythonTest(new PyDebuggerQtTask("/debug/qt", "test_pyqt4.py") { @Override public void before() throws Exception { createExceptionBreak(myFixture, true, true, true, "2 + 2 == 5", null); toggleBreakpoint(getFilePath(getScriptName()), 16); } @Override public void testing() throws Exception { waitForPause(); setProcessCanTerminate(true); resume(); waitForOutput("NameError: name 'wrong_arg' is not defined"); waitForOutput("Process finished with exit code 1"); } }); }