void () { runPythonTest(new PyDebuggerTask("/debug", "test_exceptbreak.py") { @Override public void before() { createExceptionBreak(myFixture, true, false, false, "__exception__[0] == ZeroDivisionError", null); } @Override public void testing() throws Exception { waitForPause(); waitForOutput("message=\"python-BaseException\""); eval("__exception__[0].__name__").hasValue("'ZeroDivisionError'"); resume(); waitForTerminate(); } @NotNull @Override public Set<String> getTags() { return ImmutableSet.of("-jython", "-iron"); } }); }