'Returns a tuple of locations from two XBlocks.
Arguments:
xblock1: an xblock
xblock2: also an xblock
Returns:
A tuple of the string representations of those XBlocks\' locations.'

@staticmethod
def _extract_location_pair(xblock1, xblock2):

    return (six.text_type(xblock1.location), six.text_type(xblock2.location))
