'arr_2d[a:b:c]'

def test_2d_slicing(self, flags=enable_pyobj_flags):

    pyfunc = slicing_1d_usecase
    arraytype = types.Array(types.int32, 2, 'C')
    argtys = (arraytype, types.int32, types.int32, types.int32)
    cr = compile_isolated(pyfunc, argtys, flags=flags)
    cfunc = cr.entry_point
    a = np.arange(100, dtype='i4').reshape(10, 10)
    for args in [(0, 10, 1), (2, 3, 1), (10, 0, 1), (0, 10, (-1)), (0, 10, 2)]:
        self.assertPreciseEqual(pyfunc(a, *args), cfunc(a, *args), msg=('for    args    %s' % (args,)))
