def METHOD_NAME(self):
    testcases = [(13,), (0, 11), (-22, 10), (20, 3, -1),
                 (13, 21, 3), (-2, 2, 2)]
    for proto in range(pickle.HIGHEST_PROTOCOL + 1):
        for t in testcases:
            r = xrange(*t)
            self.assertEqual(list(pickle.loads(pickle.dumps(r, proto))),
                             list(r))