def METHOD_NAME(self):
    # see issue 7298
    limits = [base + jiggle
              for M in (2**32, 2**64)
              for base in (-M, -M//2, 0, M//2, M)
              for jiggle in (-2, -1, 0, 1, 2)]
    test_ranges = [(start, end, step)
                   for start in limits
                   for end in limits
                   for step in (-2**63, -2**31, -2, -1, 1, 2)]
    for start, end, step in test_ranges:
        try:
            iter1 = xrange(start, end, step)
        except OverflowError:
            pass
        else:
            iter2 = pyrange(start, end, step)
            test_id = "xrange({}, {}, {})".format(start, end, step)
            # check first 100 entries
            self.assert_iterators_equal(iter1, iter2, test_id, limit=100)
        try:
            iter1 = reversed(xrange(start, end, step))
        except OverflowError:
            pass
        else:
            iter2 = pyrange_reversed(start, end, step)
            test_id = "reversed(xrange({}, {}, {}))".format(start, end, step)
            self.assert_iterators_equal(iter1, iter2, test_id, limit=100)