def match(self, l2):

        l1count = len(self.l1)
        l2count = len(l2)
        if l1count != l2count:
            return ListLengthMismatch(self.l1, l2)
        l2 = copy.deepcopy(l2)
        for v1 in self.l1:
            for v2 in l2:
                matcher = ValueMatches(v1, self.approx_equal, self.tolerance,
                                      self.orderless_lists)
                did_match = matcher.match(v2)
                if did_match is None:
                    l2.remove(v2)
                    break
                if not self.orderless_lists:
                    break
            if did_match is not None:
                return did_match
Assert a list of dicts are equivalent.
dataset/ETHPy150Open openstack/ec2-api/ec2api/tests/unit/matchers.py/ListMatches.match