void () { PyCodeInsightSettings codeInsightSettings = PyCodeInsightSettings.getInstance(); boolean oldPreferFromImport = codeInsightSettings.PREFER_FROM_IMPORT; codeInsightSettings.PREFER_FROM_IMPORT = false; try { doMultiFileAutoImportTest("Qualify with an imported module"); } finally { codeInsightSettings.PREFER_FROM_IMPORT = oldPreferFromImport; } }