'Check if the iteration objects are the same.'

def check_iteration(self, iterations, newiterations):

    for (iteration, newiteration) in zip(iterations, newiterations):
        self.assertEqual(iteration.index, newiteration.index)
        self.check_dict(iteration.attr_keyval, newiteration.attr_keyval)
        self.check_dict(iteration.perf_keyval, newiteration.perf_keyval)
