code: def test_tokenizers_common_ids_setters(self):
      tokenizers = self.get_tokenizers()
      for tokenizer in tokenizers:
          with self.subTest(f"{tokenizer.__class__.__name__}"):
              attributes_list = [
                  "bos_token",
                  "eos_token",
                  "unk_token",
                  "sep_token",
                  "pad_token",
                  "cls_token",
                  "mask_token",
              ]
  
      token_to_test_setters = "a"
      token_id_to_test_setters = ord(token_to_test_setters)
  
      for attr in attributes_list:
          setattr(tokenizer, attr + "_id", None)
          self.assertEqual(getattr(tokenizer, attr), None)
          self.assertEqual(getattr(tokenizer, attr + "_id"), None)
  
          setattr(tokenizer, attr + "_id", token_id_to_test_setters)
          self.assertEqual(
              getattr(tokenizer, attr), token_to_test_setters
          )
          self.assertEqual(
              getattr(tokenizer, attr + "_id"), token_id_to_test_setters
          )
  
      setattr(tokenizer, "additional_special_tokens_ids", [])
      self.assertListEqual(
          getattr(tokenizer, "additional_special_tokens"), []
      )
      self.assertListEqual(
          getattr(tokenizer, "additional_special_tokens_ids"), []
      )
  
      additional_special_token_id = 0xE006
      additional_special_token = chr(additional_special_token_id)
      setattr(
          tokenizer,
          "additional_special_tokens_ids",
          [additional_special_token_id],
      )
      self.assertListEqual(
          getattr(tokenizer, "additional_special_tokens"),
          [additional_special_token],
      )
      self.assertListEqual(
          getattr(tokenizer, "additional_special_tokens_ids"),
          [additional_special_token_id],
      )
  
imports: import json
  import os
  import shutil
  import tempfile
  import unittest
  from transformers import BatchEncoding, CanineTokenizer
  from transformers.testing_utils import require_tokenizers, require_torch
  from transformers.tokenization_utils import AddedToken
  from transformers.utils import cached_property
  from ...test_tokenization_common import TokenizerTesterMixin
label_desc: Use image node_id 13 for calling the CanineTokenizationTest obj's underlying member method code with example usage: obj.test_tokenizers_common_ids_setters() without return types