code: def testGetShapeFromExamplesPathInvalidPath(
      self, source_paths, expected_partial_message
  ):
      # This calls tf.io.gfile.Glob, which will raise errors.OpError,
      # at least on a Posix filesystem.  Other filesystems might
      # not fail like that, and will return an empty list, which
      # is turned into a different exception.
      with self.assertRaisesRegex(Exception, expected_partial_message):
          dv_utils.get_shape_from_examples_path(source_paths)
  
imports: from absl.testing import absltest
  from absl.testing import parameterized
  import tensorflow
  from deepvariant import dv_utils
  from tensorflow.python.platform import gfile
  from third_party.nucleus.io import tfrecord
  from third_party.nucleus.protos import variants_pb2
  from third_party.nucleus.testing import test_utils
  from tensorflow.core.example import example_pb2
label_desc: Use image node_id 7 for calling the TFUtilsTest obj's underlying member method code with example usage: obj.testGetShapeFromExamplesPathInvalidPath(source_paths, expected_partial_message) without return types