void () { final PythonSdkFlavor flavor = UnixPythonSdkFlavor.getInstance(); final String versionOutput = "Python 2.7.6\n"; final Sdk mockSdk = createMockSdk(flavor, versionOutput); assertEquals("Python 2.7.6", mockSdk.getVersionString()); assertEquals(LanguageLevel.PYTHON27, flavor.getLanguageLevel(mockSdk)); }