void () { runPythonTest(new PyDebuggerTask("/debug", "test2.py") { @Override public void before() { toggleBreakpoint(getFilePath(getScriptName()), 5); } @Override public void testing() throws Exception { waitForPause(); stepOver(); waitForPause(); stepOver(); waitForPause(); eval("z").hasValue("2"); } }); }