def METHOD_NAME(dtype):
    '''Call a user defined procedure that replaces the values of an array with
    its sinus.
    Note that GDL does not support changes in the arguments, so this test is
    expected to fail'''
    code = '''pro SETVALUE, arg
    arg[*] = sin(arg)
    end
    '''
    with GDLFile(code) as name:
        arg = numpy.arange(-10, 10., 1.1).astype(dtype)
        ret = numpy.copy(arg)
        GDL.pro(name, ret)
        for a, r in zip(numpy.sin(arg), ret):
            assert a == r