code: def testRequiresKwargs(self):
      with self.assertRaisesRegex(TypeError, "only takes keyword args"):
          gen_math_ops.Add(1.0, 1.0)
  
imports: from absl.testing import parameterized
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import gen_data_flow_ops
  from tensorflow.python.ops import gen_math_ops
  from tensorflow.python.ops import gen_string_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the RawOpsTest obj's underlying member method code with example usage: obj.testRequiresKwargs() without return types