code: def testInvalidOutput(self):
      with self.assertRaises(KeyError):
          _executor.Executor().Do({}, {}, self.exec_properties)
      with self.assertRaisesRegex(
          ValueError, "expected list length of one"
      ):
          _executor.Executor().Do(
              {},
              {
                  standard_component_specs.SCHEMA_KEY: [
                      standard_artifacts.Schema(),
                      standard_artifacts.Schema(),
                  ]
              },
              self.exec_properties,
          )
  
file_path: tfx/tfx/components/schema_gen/import_schema_gen/executor_test.py
imports: import os
  import tensorflow
  from tfx.components.schema_gen import executor
  from tfx.components.schema_gen.import_schema_gen import executor
  from tfx.types import standard_artifacts
  from tfx.types import standard_component_specs
  from tfx.utils import io_utils
  from tfx.utils import test_case_utils
  from google.protobuf import text_format
label_desc: Use image node_id 3 for calling the ExecutorTest obj's underlying member method code with example usage: obj.testInvalidOutput() without return types