void () { addExcludedRoot("env"); final VirtualFile sdkRoot = myFixture.findFileInTempDir("env/site-packages"); runWithAdditionalClassEntryInSdkRoots(sdkRoot, () -> { final List<String> collected = PyPackageUtil.getPackageNames(myFixture.getModule()); assertSameElements(collected, "project", "project.pkg"); }); }