code: def test_eos_treatment(self):
      tokenizer = self.siglip_tokenizer
      batch_with_eos_added = tokenizer(
          ["hi</s>", "I went to the gym</s>", "</s>"]
      )
      batch_without_eos_added = tokenizer(
          ["hi", "I went to the gym", ""]
      )
      self.assertListEqual(
          batch_with_eos_added["input_ids"],
          batch_without_eos_added["input_ids"],
      )
  
imports: import json
  import os
  import tempfile
  import unittest
  from transformers import SPIECE_UNDERLINE, AddedToken, BatchEncoding, SiglipTokenizer
  from transformers.testing_utils import get_tests_dir, require_sentencepiece, require_tokenizers, slow
  from transformers.utils import cached_property, is_tf_available, is_torch_available
  from ...test_tokenization_common import TokenizerTesterMixin
label_desc: Use image node_id 8 for calling the SiglipTokenizationTest obj's underlying member method code with example usage: obj.test_eos_treatment() without return types