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