void () { runPythonTest(new IPythonTask() { @Override public void testing() throws Exception { exec("x = 42"); exec("print(x)"); waitForOutput("42"); } @Override public boolean reportThreadLeaks() { return true; } }); }