void () { final PythonSdkFlavor flavor = JythonSdkFlavor.getInstance(); final String versionOutput = """ "my" variable $jythonHome masks earlier declaration in same scope at /usr/bin/jython line 15. Jython 2.6.3 """; final Sdk mockSdk = createMockSdk(flavor, versionOutput); assertEquals("Jython 2.6.3", mockSdk.getVersionString()); assertEquals(LanguageLevel.PYTHON26, flavor.getLanguageLevel(mockSdk)); }