void () { doCodeTest("() -> None"); final PyFunctionTypeAnnotation annotation = getParsedAnnotation(); assertNotNull(annotation); assertEmpty(annotation.getParameterTypeList().getParameterTypes()); final PyExpression returnType = annotation.getReturnType(); assertNotNull(returnType); assertEquals("None", returnType.getText()); }