def METHOD_NAME(self):
    indices = (0, None, 1, 3, 19, 100, -1, -2, -31, -100)
    orig = string.ascii_letters + string.digits
    for start in indices:
        for stop in indices:
            # Use indices[1:] when MutableString can handle real
            # extended slices
            for step in (None, 1, -1):
                s = self.type2test(orig)
                L = list(orig)
                # Make sure we have a slice of exactly the right length,
                # but with (hopefully) different data.
                data = L[start:stop:step]
                data.reverse()
                L[start:stop:step] = data
                s[start:stop:step] = "".join(data)
                self.assertEqual(s, "".join(L))
                del L[start:stop:step]
                del s[start:stop:step]
                self.assertEqual(s, "".join(L))