void () { runPythonTest(new PyDebuggerTask("/debug", "test_two_threads_resume.py") { @Override public void before() { toggleBreakpoint(getFilePath(getScriptName()), 10); setBreakpointSuspendPolicy(getProject(), 10, SuspendPolicy.ALL); setWaitForTermination(false); } @Override public void testing() throws Exception { waitForPause(); eval("x").hasValue("12"); resume(); waitForPause(); eval("x").hasValue("12"); resume(); } @NotNull @Override public Set<String> getTags() { return Collections.singleton("-iron"); } }); }