def test_set_slice(self):
        initial_value = range(0, 5)

        def make_op_func(i, j, k, v):
            def _f(xs):
                xs[i:j:k] = v
            return _f
        
        for i in [None] + range(-7, 7):
            for j in [None] + range(-7, 7):
                for k in [None] + range(-7, 7):
                    self._list_op_test(initial_value, make_op_func(i, j, k, []), 'set_slice [%s:%s:%s]=[]' % (i,j,k))
                    self._list_op_test(initial_value, make_op_func(i, j, k, range(0,2)), 'set_slice [%s:%s:%s]=range(0,2)' % (i,j,k))
                    self._list_op_test(initial_value, make_op_func(i, j, k, range(0,4)), 'set_slice [%s:%s:%s]=range(0,4)' % (i,j,k))
                    self._list_op_test(initial_value, make_op_func(i, j, k, xrange(0,2)), (i,j,k) % 'set_slice [%s:%s:%s]=xrange(0,2)')
                    self._list_op_test(initial_value, make_op_func(i, j, k, self._arraylist_of(range(0,2))), 'set_slice [%s:%s:%s]=ArrayList(range(0,2))' % (i,j,k))
 
        self._list_op_test([1,2,3,4,5], make_op_func(1, None, None, [1,2,3,4,5]), 'set_slice [1:]=[1,2,3,4,5]')
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_java_list_delegate.py/CollectionProxyTest.test_set_slice/swapped operands of `%`