code: def test_get_split_pattern_with_custom_pattern(self):
      examples1 = standard_artifacts.Examples()
      examples1.uri = "/test/uri"
      examples1.split_names = '["train"]'
  
      examples2 = standard_artifacts.Examples()
      examples2.uri = "/test/uri"
      k, v = examples_utils.get_custom_split_patterns_key_and_property(
          {"train": "subdir/train-*-of-*"}
      )
      examples2.set_string_custom_property(k, v)
  
      self.assertEqual(
          ["/test/uri/Split-train/*", "/test/uri/subdir/train-*-of-*"],
          examples_utils.get_split_file_patterns(
              [examples1, examples2], "train"
          ),
      )
      with self.assertRaises(ValueError):
          examples_utils.get_split_file_patterns(
              [examples1, examples2], "missing_split"
          )
  
file_path: tfx/tfx/components/util/examples_utils_test.py
imports: import tensorflow
  from tfx.components.example_gen import utils
  from tfx.components.util import examples_utils
  from tfx.proto import example_gen_pb2
  from tfx.types import standard_artifacts
label_desc: Use image node_id 3 for calling the ExamplesUtilsTest obj's underlying member method code with example usage: obj.test_get_split_pattern_with_custom_pattern() without return types