code: def test_analyze_in_place_with_analyzers_raises_error(
      self, force_tf_compat_v1
  ):
      if not force_tf_compat_v1:
          test_case.skip_if_not_tf2("Tensorflow 2.x required")
  
      def preprocessing_fn(inputs):
          return {"x_add_1": analyzers.mean(inputs["x"])}
  
      feature_spec = {"x": tf.io.FixedLenFeature([], tf.int64)}
      type_spec = {
          "x": tf.TensorSpec(
              dtype=tf.int64,
              shape=[
                  None,
              ],
          )
      }
      output_path = os.path.join(
          self.get_temp_dir(), self._testMethodName
      )
      with self.assertRaisesRegex(
          RuntimeError, "analyzers found when tracing"
      ):
          impl_helper.analyze_in_place(
              preprocessing_fn,
              force_tf_compat_v1,
              feature_spec,
              type_spec,
              output_path,
          )
  
imports: import copy
  import os
  import numpy
  from packaging import version
  import pyarrow
  import tensorflow
  from tensorflow_transform import analyzers
  from tensorflow_transform import impl_helper
  from tensorflow_transform import schema_inference
  from tensorflow_transform import test_case
  from tensorflow_transform.output_wrapper import TFTransformOutput
  from tensorflow_transform.tf_metadata import schema_utils
label_desc: Use image node_id 10 for calling the ImplHelperTest obj's underlying member method code with example usage: obj.test_analyze_in_place_with_analyzers_raises_error(force_tf_compat_v1) and returns: dict