void () { runPythonTest(new PyDebuggerTask("/debug", "test_sys_exit.py") { @Override public void before() { toggleBreakpoint(getFilePath(getScriptName()), 3); } @Override public void testing() throws Exception { waitForPause(); setProcessCanTerminate(true); resume(); waitForOutput("Process finished with exit code 0"); } @NotNull @Override public Set<String> getTags() { return Collections.singleton("-iron"); // PY-37791 } }); }