testing/merge_scripts/results_merger.py
def ensure_match(source, dest):
  """ Returns source if it matches dest.

  This is intended for use as a merge_func parameter to merge_value.

  Raises:
      MergeException if source != dest
  """
  if source != dest:
    raise MergeException(  # pragma: no cover (covered by
                           # results_merger_unittest).
        "Values don't match: %s, %s" % (source, dest))
  return source
 Returns source if it matches dest.

  This is intended for use as a merge_func parameter to merge_value.

  Raises:
      MergeException if source != dest
  
Returns source if it matches dest.
This is intended for use as a merge_func parameter to merge_value.

MergeException if source != dest
Returns source if it matches dest . This is intended for use as a merge_func parameter to merge_value . MergeException if source ! = dest
def ensure_match(source, dest):
  if source != dest:
    raise MergeException(  
        "Values don't match: %s, %s" % (source, dest))
  return source
def ensure_match ( source , dest ) : if source != dest : raise MergeException ( "Values don't match: %s, %s" % ( source , dest ) ) return source
Returns source if it matches dest.
Returns source if it matches dest .
""" Returns source if it matches dest.

  This is intended for use as a merge_func parameter to merge_value.

  Raises:
      MergeException if source != dest
  """ # pragma: no cover (covered by # results_merger_unittest).
source
dest