class_docstr: Here we also overwrite some of the tests of test_modeling_common.py, as DPT does not use input_ids, inputs_embeds,
  attention_mask and seq_length.
code: def test_raise_readout_type(self):
      # We do this test only for DPTForDepthEstimation since it is the only model that uses readout_type
      (
          config,
          _,
      ) = self.model_tester.prepare_config_and_inputs_for_common()
      config.readout_type = "add"
      with self.assertRaises(ValueError):
          _ = DPTForDepthEstimation(config)
  
imports: import unittest
  from transformers import DPTConfig
  from transformers.file_utils import is_torch_available, is_vision_available
  from transformers.models.auto import get_values
  from transformers.testing_utils import require_torch, require_vision, slow, torch_device
  from ...test_configuration_common import ConfigTester
  from ...test_modeling_common import ModelTesterMixin, _config_zero_init, floats_tensor, ids_tensor
  from ...test_pipeline_mixin import PipelineTesterMixin
label_desc: Use image node_id 14 for calling the DPTModelTest obj's underlying member method code with example usage: obj.test_raise_readout_type() without return types