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 pytorch_model.bin",
      ):
          _ = AutoModel.from_pretrained(
              "hf-internal-testing/config-no-model"
          )
  
imports: import copy
  import sys
  import tempfile
  import unittest
  from collections import OrderedDict
  from pathlib import Path
  import pytest
  from transformers import BertConfig, GPT2Model, is_torch_available
  from transformers.models.auto.configuration_auto import CONFIG_MAPPING
  from transformers.testing_utils import DUMMY_UNKNOWN_IDENTIFIER, SMALL_MODEL_IDENTIFIER, RequestCounter, require_scatter, require_torch, slow
  from ..bert.test_modeling_bert import BertModelTester
  from test_module.custom_configuration import CustomConfig
label_desc: Use image node_id 19 for calling the AutoModelTest obj's underlying member method code with example usage: obj.test_model_file_not_found() without return types