def METHOD_NAME(self, list1, list2, places=7):
    for i in range(len(list1)):
        if isinstance(list1[i], list):
            self.METHOD_NAME(list1[i], list2[i], places=places)
        else:
            self.assertAlmostEqual(list1[i], list2[i], places=places)