void () { // PY-6304 runWithLanguageLevel(LanguageLevel.PYTHON27, () -> { myFixture.copyDirectoryToProject("relativeImportExcludeToplevel", ""); myFixture.configureByFile("pack/subpack/modX.py"); myFixture.completeBasic(); assertNull(myFixture.getLookupElementStrings()); myFixture.checkResult("from ...subpack import"); }); }