void () { runPythonTest(new PyConsoleTask() { @Override public void testing() throws Exception { exec("x = 1"); exec("print(x)"); waitForOutput("1"); setValue("x", "2"); exec("print(x)"); waitForOutput("2"); } }); }