void () { final PythonSdkFlavor flavor = JythonSdkFlavor.getInstance(); final String versionOutput = "Jython 2.6.3\n"; final Sdk mockSdk = createMockSdk(flavor, versionOutput); assertEquals("Jython 2.6.3", mockSdk.getVersionString()); assertEquals(LanguageLevel.PYTHON26, flavor.getLanguageLevel(mockSdk)); }