code: def test_image_processor_from_dict_with_kwargs(self):
      image_processor = self.image_processing_class.from_dict(
          self.image_processor_dict
      )
      self.assertEqual(
          image_processor.size, {"height": 18, "width": 18}
      )
  
      image_processor = self.image_processing_class.from_dict(
          self.image_processor_dict, size=42
      )
      self.assertEqual(
          image_processor.size, {"height": 42, "width": 42}
      )
  
file_path: transformers/tests/models/pvt/test_image_processing_pvt.py
imports: import unittest
  from transformers.testing_utils import require_torch, require_vision
  from transformers.utils import is_vision_available
  from ...test_image_processing_common import ImageProcessingTestMixin, prepare_image_inputs
label_desc: Use image node_id 4 for calling the PvtImageProcessingTest obj's underlying member method code with example usage: obj.test_image_processor_from_dict_with_kwargs() without return types