def METHOD_NAME(self, items1, items2, msg=None):
    for item1 in items1:
        has_equal = False
        for item2 in items2:
            try:
                self.assertEqual(item1, item2)
                has_equal = True
                break
            except Exception:
                pass
        if not has_equal:
            self.fail("Item %r missing" % item1)