void () { runWithLanguageLevel(LanguageLevel.PYTHON27, () -> { List<String> variants = doTestByText("from ...<caret>"); assertDoesntContain(variants, "import"); assertNull(doTestByText("from ... <caret>")); myFixture.checkResult("from ... import "); }); }