void () { runPythonTest(new PyDebuggerTask("/debug", "test_multithread.py") { @Override public void before() { toggleBreakpoint(getFilePath(getScriptName()), 10); toggleBreakpoint(getFilePath(getScriptName()), 16); setWaitForTermination(false); } @Override public void testing() throws Exception { waitForPause(); eval("y").hasValue("2"); resume(); waitForPause(); eval("z").hasValue("102"); resume(); } @NotNull @Override public Set<String> getTags() { return Collections.singleton("-pypy"); //TODO: fix that for PyPy } }); }