def METHOD_NAME(self):
    processor = Pix2StructProcessor(tokenizer=self.get_tokenizer(), image_processor=self.get_image_processor())
    processor.save_pretrained(self.tmpdirname)
    tokenizer_add_kwargs = self.get_tokenizer(bos_token="(BOS)", eos_token="(EOS)")
    image_processor_add_kwargs = self.get_image_processor(do_normalize=False, padding_value=1.0)
    processor = Pix2StructProcessor.from_pretrained(
        self.tmpdirname, bos_token="(BOS)", eos_token="(EOS)", do_normalize=False, padding_value=1.0
    )
    self.assertEqual(processor.tokenizer.get_vocab(), tokenizer_add_kwargs.get_vocab())
    self.assertIsInstance(processor.tokenizer, PreTrainedTokenizerFast)
    self.assertEqual(processor.image_processor.to_json_string(), image_processor_add_kwargs.to_json_string())
    self.assertIsInstance(processor.image_processor, Pix2StructImageProcessor)