code: def test_decimal_invalid_precision():
      with pytest.raises(pa.ArrowInvalid):
          _ = cudf.Series([10, 20, 30], dtype=cudf.Decimal64Dtype(2, 2))
  
      with pytest.raises(pa.ArrowInvalid):
          _ = cudf.Series(
              [Decimal("300")], dtype=cudf.Decimal64Dtype(2, 1)
          )
  
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 12 for calling a global function with example usage: test_decimal_invalid_precision() without return types