void () { final PyFile file = getTestFile(); final PyFunction func = file.findTopLevelFunction("func"); assertNotNull(func); final String annotation = func.getTypeCommentAnnotation(); assertEquals("(str) -> int", annotation); assertNotParsed(file); }