code: def test_model_file_not_found(self):
      with self.assertRaisesRegex(
          EnvironmentError,
          "hf-internal-testing/config-no-model does not appear to have a file named tf_model.h5",
      ):
          _ = TFAutoModel.from_pretrained(
              "hf-internal-testing/config-no-model"
          )
  
imports: import copy
  import tempfile
  import unittest
  from transformers import CONFIG_MAPPING, AutoConfig, BertConfig, GPT2Config, T5Config, TapasConfig, is_tf_available
  from transformers.testing_utils import DUMMY_UNKNOWN_IDENTIFIER, SMALL_MODEL_IDENTIFIER, RequestCounter, require_tensorflow_probability, require_tf, slow
  from ..bert.test_modeling_bert import BertModelTester
label_desc: Use image node_id 16 for calling the TFAutoModelTest obj's underlying member method code with example usage: obj.test_model_file_not_found() without return types