code: def test_objarr_add_invalid(self, op, box_with_array):
      # invalid ops
      box = box_with_array
  
      obj_ser = Series(list("abc"), dtype=object, name="objects")
  
      obj_ser = tm.box_expected(obj_ser, box)
      msg = "|".join(
          [
              "can only concatenate str",
              "unsupported operand type",
              "must be str",
              "has no kernel",
          ]
      )
      with pytest.raises(Exception, match=msg):
          op(obj_ser, 1)
      with pytest.raises(Exception, match=msg):
          op(obj_ser, np.array(1, dtype=np.int64))
  
imports: import datetime
  from decimal import Decimal
  import operator
  import numpy
  import pytest
  from pandas._config import using_pyarrow_string_dtype
  import pandas.util._test_decorators
  import pandas
  from pandas import Series, Timestamp, option_context
  import pandas._testing
  from pandas.core import ops
label_desc: Use image node_id 7 for calling the TestArithmetic obj's underlying member method code with example usage: obj.test_objarr_add_invalid(op, box_with_array) without return types