'this used to work, and was used in one of the tutorials'

def test_conversion_setitem(self, flags=enable_pyobj_flags):

    from numba import jit
    def pyfunc(array):
        for index in range(len(array)):
            array[index] = (index % decimal.Decimal(100))
    cfunc = jit('void(i8[:])')(pyfunc)
    udt = np.arange(100, dtype='i1')
    control = udt.copy()
    pyfunc(control)
    cfunc(udt)
    self.assertPreciseEqual(udt, control)
