code: def test_series_setitem_decimal(args):
      data, dtype, item, to, expect = args
      data = _decimal_series(data, dtype)
  
      if expect is pa.lib.ArrowInvalid:
          with pytest.raises(expect):
              data[to] = item
          return
      else:
          expect = _decimal_series(expect, dtype)
          data[to] = item
          assert_eq(data, expect)
  
imports: import decimal
  from decimal import Decimal
  import numpy
  import pyarrow
  import pytest
  from packaging import version
  import cudf
  from cudf.core.column import Decimal32Column, Decimal64Column, NumericalColumn
  from cudf.core.dtypes import Decimal32Dtype, Decimal64Dtype
  from cudf.testing._utils import FLOAT_TYPES, INTEGER_TYPES, SIGNED_TYPES, _decimal_series, assert_eq, expect_warning_if
label_desc: Use image node_id 9 for calling a global function with example usage: test_series_setitem_decimal(args) without return types