void () { runWithAdditionalClassEntryInSdkRoots(getTestName(false) + "/site-packages", () -> { myFixture.copyDirectoryToProject(getTestName(false) + "/src", ""); myFixture.configureByFile("main.py"); myFixture.completeBasic(); List<String> variants = myFixture.getLookupElementStrings(); assertNotNull(variants); assertDoesntContain(variants, "mypackage._impl.func", "mypackage._vendor.lib.func"); assertContainsElements(variants, "mypackage.func_exported", "mypackage_util._impl.func"); }); }