code: def test_create_from_options_fails_with_invalid_model_path(self):
      with self.assertRaisesRegex(
          RuntimeError,
          "Unable to open file at /path/to/invalid/model.tflite",
      ):
          base_options = _BaseOptions(
              model_asset_path="/path/to/invalid/model.tflite"
          )
          options = _TextClassifierOptions(base_options=base_options)
          _TextClassifier.create_from_options(options)
  
file_path: mediapipe/mediapipe/tasks/python/test/text/text_classifier_test.py
imports: import enum
  import os
  from absl.testing import absltest
  from absl.testing import parameterized
  from mediapipe.tasks.python.components.containers import category
  from mediapipe.tasks.python.components.containers import classification_result
  from mediapipe.tasks.python.core import base_options
  from mediapipe.tasks.python.test import test_utils
  from mediapipe.tasks.python.text import text_classifier
label_desc: Use image node_id 4 for calling the TextClassifierTest obj's underlying member method code with example usage: obj.test_create_from_options_fails_with_invalid_model_path() without return types