code: def test_cat_series_binop_error():
      df = cudf.DataFrame()
      df["a"] = pd.Categorical(
          list("aababcabbc"), categories=list("abc")
      )
      df["b"] = np.arange(len(df))
  
      pdf = df.to_pandas()
  
      # lhs is categorical
      assert_exceptions_equal(
          lfunc=operator.add,
          rfunc=operator.add,
          lfunc_args_and_kwargs=([pdf["a"], pdf["b"]],),
          rfunc_args_and_kwargs=([df["a"], df["b"]],),
      )
  
      # lhs is numerical
      assert_exceptions_equal(
          lfunc=operator.add,
          rfunc=operator.add,
          lfunc_args_and_kwargs=([pdf["b"], pdf["a"]],),
          rfunc_args_and_kwargs=([df["b"], df["a"]],),
      )
  
imports: import operator
  import string
  import warnings
  from contextlib import contextmanager
  from textwrap import dedent
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf.core._compat import PANDAS_GE_134
  from cudf.testing._utils import NUMERIC_TYPES, assert_eq, assert_exceptions_equal, expect_warning_if
label_desc: Use image node_id 13 for calling a global function with example usage: test_cat_series_binop_error() without return types