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); toggleBreakpoint(getFilePath(getScriptName()), 16); } @Override public void testing() throws Exception { waitForPause(); resume(); waitForPause(); eval("__exception__[0].__name__").hasValue("'NameError'"); setProcessCanTerminate(true); resume(); waitForPause(); resume(); waitForOutput("Process finished with exit code 1"); } }); }