code: def test_arith_frame_with_scalar(
      self, data, all_arithmetic_operators, request
  ):
      # frame & scalar
      op_name = all_arithmetic_operators
      if op_name == "__rmod__":
          request.applymarker(
              pytest.mark.xfail(
                  reason="rmod never called when string is first argument"
              )
          )
      super().test_arith_frame_with_scalar(data, op_name)
  
imports: import string
  import numpy
  import pytest
  from pandas._config import using_pyarrow_string_dtype
  import pandas
  from pandas import Categorical
  import pandas._testing
  from pandas.api.types import CategoricalDtype
  from pandas.tests.extension import base
label_desc: Use image node_id 6 for calling the TestCategorical obj's underlying member method code with example usage: obj.test_arith_frame_with_scalar(data, all_arithmetic_operators, request) without return types