void () { doMultiFileTest("a.py"); final Project project = myFixture.getProject(); Collection<PyClass> classes = PyClassNameIndex.find("M", project, GlobalSearchScope.allScope(project)); for (PyClass cls : classes) { final PsiFile file = cls.getContainingFile(); if (file instanceof PyFile) { assertNotParsed(file); } } }