code: def testGraphTraversal_NoArtifactTypeNames_RaisesValueError(self):
      with self.assertRaisesRegex(
          ValueError, "artifact_type_names was empty"
      ):
          self._run_graph_traversal(
              [
                  self.prepare_tfx_artifact(test_utils.Model),
              ],
              traverse_upstream=True,
              artifact_type_names=[],
          )
  
file_path: tfx/tfx/dsl/input_resolution/ops/graph_traversal_op_test.py
imports: from typing import Sequence
  import tensorflow
  from tfx import types
  from tfx.dsl.input_resolution.ops import ops
  from tfx.dsl.input_resolution.ops import test_utils
label_desc: Use image node_id 6 for calling the GraphTraversalOpTest obj's underlying member method code with example usage: obj.testGraphTraversal_NoArtifactTypeNames_RaisesValueError() without return types