void () { runWithLanguageLevel(LanguageLevel.PYTHON27, () -> { final PyFile file = getTestFile(); final PyClass c = file.findTopLevelClass("C"); assertNotNull(c); final TypeEvalContext context = TypeEvalContext.codeInsightFallback(myFixture.getProject()); assertNotNull(c.getMetaClassType(false, context)); final PyClass d = file.findTopLevelClass("D"); assertNotNull(d); assertNotNull(d.getMetaClassType(false, context)); assertNotParsed(file); }); }