void () { runPythonTest(new PyDebuggerTask("/debug", "test_syntax_error.py") { @Override public void before() { createDefaultExceptionBreakpoint(myFixture); } @Override public void testing() throws Exception { waitForPause(); try { resume(); waitForTerminate(); } catch (AssertionError e) { if (!e.getMessage().contains("SyntaxError: invalid syntax")) throw e; } } @NotNull @Override public Set<String> getTags() { return Collections.singleton("-iron"); // PY-36367 } }); }