void () { doCodeTest("(...) -> None"); final PyFunctionTypeAnnotation annotation = getParsedAnnotation(); final List<PyExpression> paramTypes = annotation.getParameterTypeList().getParameterTypes(); assertSize(1, paramTypes); assertInstanceOf(paramTypes.get(0), PyNoneLiteralExpression.class); final PyExpression returnType = annotation.getReturnType(); assertNotNull(returnType); }