void () { final String testName = getTestName(false); configureByFile(testName + ".py"); final String fullPath = getTestDataPath() + testName + ".txt"; final PyClass pyClass = ((PyFile)myFile).getTopLevelClasses().get(0); final ControlFlow flow = ControlFlowCache.getControlFlow(pyClass.getMethods()[0]); check(fullPath, flow); }