void () { final PyFile file = getTestFile(); final PyFunction func = file.findTopLevelFunction("func"); final String annotation = func.getAnnotationValue(); assertEquals("int", annotation); assertNotParsed(file); assertType("() -> int", func, TypeEvalContext.codeInsightFallback(myFixture.getProject())); assertNotParsed(file); }