code: def test_save_load_pretrained_default(self):
      tokenizer_slow = self.get_tokenizer()
      tokenizer_fast = self.get_rust_tokenizer()
      image_processor = self.get_image_processor()
  
      processor_slow = ChineseCLIPProcessor(
          tokenizer=tokenizer_slow, image_processor=image_processor
      )
      processor_slow.save_pretrained(self.tmpdirname)
      processor_slow = ChineseCLIPProcessor.from_pretrained(
          self.tmpdirname, use_fast=False
      )
  
      processor_fast = ChineseCLIPProcessor(
          tokenizer=tokenizer_fast, image_processor=image_processor
      )
      processor_fast.save_pretrained(self.tmpdirname)
      processor_fast = ChineseCLIPProcessor.from_pretrained(
          self.tmpdirname
      )
  
      self.assertEqual(
          processor_slow.tokenizer.get_vocab(),
          tokenizer_slow.get_vocab(),
      )
      self.assertEqual(
          processor_fast.tokenizer.get_vocab(),
          tokenizer_fast.get_vocab(),
      )
      self.assertEqual(
          tokenizer_slow.get_vocab(), tokenizer_fast.get_vocab()
      )
      self.assertIsInstance(processor_slow.tokenizer, BertTokenizer)
      self.assertIsInstance(processor_fast.tokenizer, BertTokenizerFast)
  
      self.assertEqual(
          processor_slow.image_processor.to_json_string(),
          image_processor.to_json_string(),
      )
      self.assertEqual(
          processor_fast.image_processor.to_json_string(),
          image_processor.to_json_string(),
      )
      self.assertIsInstance(
          processor_slow.image_processor, ChineseCLIPImageProcessor
      )
      self.assertIsInstance(
          processor_fast.image_processor, ChineseCLIPImageProcessor
      )
  
imports: import json
  import os
  import shutil
  import tempfile
  import unittest
  import numpy
  import pytest
  from transformers import BertTokenizer, BertTokenizerFast
  from transformers.models.bert.tokenization_bert import VOCAB_FILES_NAMES
  from transformers.testing_utils import require_vision
  from transformers.utils import FEATURE_EXTRACTOR_NAME, is_vision_available
label_desc: Use image node_id 7 for calling the ChineseCLIPProcessorTest obj's underlying member method code with example usage: obj.test_save_load_pretrained_default() without return types