void () { runPythonTest(new PyDebuggerTask("/debug", "test_exceptbreak.py") { @Override public void before() { createExceptionBreakZeroDivisionError(myFixture); } @Override public void testing() throws Exception { waitForPause(); waitForOutput("message=\"python-exceptions.ZeroDivisionError\"", "message=\"python-builtins.ZeroDivisionError\""); waitForOutput("Traceback (most recent call last):"); waitForOutput("line 7, in foo"); waitForOutput("return 1 / x"); waitForOutput("ZeroDivisionError: "); eval("__exception__[0].__name__").hasValue("'ZeroDivisionError'"); resume(); waitForTerminate(); } @NotNull @Override public Set<String> getTags() { return Collections.singleton("-iron"); } }); }