def _EvalNumericUnaryOp(self, op, op_name, node, return_type):
    if return_type == search_util.EXPRESSION_RETURN_TYPE_TEXT:
      raise _ExpressionError('Expression cannot be converted to a text type')
    if len(node.children) != 1:
      raise ValueError('%s operator must always have one arguments' % op_name)
    return op(self._Eval(node.children[0], document_pb.FieldValue.NUMBER))
Test that parsing is successful for a PROXY header.
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/api/search/stub/expression_evaluator.py/ExpressionEvaluator._EvalNumericUnaryOp--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/protocols/haproxy/test/test_v1parser.py/V1ParserTests.test_fullParsingSuccess