code: def testDoWithTwoSchemas(self):
      source_data_dir = os.path.join(
          os.path.dirname(os.path.dirname(__file__)), "testdata"
      )
      output_data_dir = os.path.join(
          os.environ.get(
              "TEST_UNDECLARED_OUTPUTS_DIR", self.get_temp_dir()
          ),
          self._testMethodName,
      )
      fileio.makedirs(output_data_dir)
  
      # Create input dict.
      examples = standard_artifacts.Examples()
      examples.uri = os.path.join(source_data_dir, "csv_example_gen")
      examples.split_names = artifact_utils.encode_split_names(
          ["train", "eval"]
      )
  
      schema = standard_artifacts.Schema()
      schema.uri = os.path.join(source_data_dir, "schema_gen")
  
      input_dict = {
          standard_component_specs.EXAMPLES_KEY: [examples],
          standard_component_specs.SCHEMA_KEY: [schema],
      }
  
      exec_properties = {
          standard_component_specs.STATS_OPTIONS_JSON_KEY: tfdv.StatsOptions(
              label_feature="company", schema=schema_pb2.Schema()
          ).to_json(),
          standard_component_specs.EXCLUDE_SPLITS_KEY: json_utils.dumps(
              []
          ),
      }
  
      # Create output dict.
      stats = standard_artifacts.ExampleStatistics()
      stats.uri = output_data_dir
      output_dict = {
          standard_component_specs.STATISTICS_KEY: [stats],
      }
  
      # Run executor.
      stats_gen_executor = executor.Executor()
      with self.assertRaises(ValueError):
          stats_gen_executor.Do(
              input_dict, output_dict, exec_properties
          )
  
imports: import os
  import tempfile
  from absl.testing import absltest
  from absl.testing import parameterized
  import tensorflow_data_validation
  from tfx.components.statistics_gen import executor
  from tfx.components.util import examples_utils
  from tfx.dsl.io import fileio
  from tfx.types import artifact_utils
  from tfx.types import standard_artifacts
  from tfx.types import standard_component_specs
  from tfx.utils import json_utils
  from tensorflow_metadata.proto.v0 import schema_pb2
label_desc: Use image node_id 7 for calling the ExecutorTest obj's underlying member method code with example usage: obj.testDoWithTwoSchemas() without return types