code: def test_model_bad_name(self):
      config = self.get_model_config(use_head=True)
      test_bad_name = "__test_bad_name__"
      config["name"] = test_bad_name
  
      try:
          _ = build_model(config)
      except AssertionError as e:
          self.assertTrue(
              test_bad_name in str(e),
              f"expected {test_bad_name} in error message, got {str(e)}",
          )
          return
      self.assertTrue(False, "expected an AssertionError to be thrown")
  
imports: import copy
  import os
  import shutil
  import tempfile
  import unittest
  import torch
  import torch.nn
  from classy_vision.generic.util import load_checkpoint
  from classy_vision.heads import FullyConnectedHead, IdentityHead
  from classy_vision.hooks import CheckpointHook
  from classy_vision.models import build_model, ClassyModel, ClassyModelWrapper, register_model
  from classy_vision.models.classy_model import _ClassyModelAdapter
  from classy_vision.tasks import build_task
  from classy_vision.trainer import LocalTrainer
  from test.generic.config_utils import get_fast_test_task_config, get_test_task_config
  from torchvision import models
label_desc: Use image node_id 4 for calling the TestClassyModel obj's underlying member method code with example usage: obj.test_model_bad_name() without return types