code: def test_change_tokenize_chinese_chars(self):
      list_of_commun_chinese_char = ["的", "人", "有"]
      text_with_chinese_char = "".join(list_of_commun_chinese_char)
      for tokenizer, pretrained_name, kwargs in self.tokenizers_list:
          with self.subTest(
              f"{tokenizer.__class__.__name__} ({pretrained_name})"
          ):
              kwargs["tokenize_chinese_chars"] = True
              tokenizer_p = self.tokenizer_class.from_pretrained(
                  pretrained_name, **kwargs
              )
              tokenizer_r = self.rust_tokenizer_class.from_pretrained(
                  pretrained_name, **kwargs
              )
  
              ids_without_spe_char_p = tokenizer_p.encode(
                  text_with_chinese_char, add_special_tokens=False
              )
              ids_without_spe_char_r = tokenizer_r.encode(
                  text_with_chinese_char, add_special_tokens=False
              )
  
              tokens_without_spe_char_r = (
                  tokenizer_r.convert_ids_to_tokens(
                      ids_without_spe_char_r
                  )
              )
              tokens_without_spe_char_p = (
                  tokenizer_p.convert_ids_to_tokens(
                      ids_without_spe_char_p
                  )
              )
  
              # it is expected that each Chinese character is not preceded by "##"
              self.assertListEqual(
                  tokens_without_spe_char_p, list_of_commun_chinese_char
              )
              self.assertListEqual(
                  tokens_without_spe_char_r, list_of_commun_chinese_char
              )
  
              kwargs["tokenize_chinese_chars"] = False
              tokenizer_r = self.rust_tokenizer_class.from_pretrained(
                  pretrained_name, **kwargs
              )
              tokenizer_p = self.tokenizer_class.from_pretrained(
                  pretrained_name, **kwargs
              )
  
              ids_without_spe_char_r = tokenizer_r.encode(
                  text_with_chinese_char, add_special_tokens=False
              )
              ids_without_spe_char_p = tokenizer_p.encode(
                  text_with_chinese_char, add_special_tokens=False
              )
  
              tokens_without_spe_char_r = (
                  tokenizer_r.convert_ids_to_tokens(
                      ids_without_spe_char_r
                  )
              )
              tokens_without_spe_char_p = (
                  tokenizer_p.convert_ids_to_tokens(
                      ids_without_spe_char_p
                  )
              )
  
              # it is expected that only the first Chinese character is not preceded by "##".
              expected_tokens = [
                  f"##{token}" if idx != 0 else token
                  for idx, token in enumerate(
                      list_of_commun_chinese_char
                  )
              ]
              self.assertListEqual(
                  tokens_without_spe_char_p, expected_tokens
              )
              self.assertListEqual(
                  tokens_without_spe_char_r, expected_tokens
              )
  
imports: import os
  import unittest
  from transformers import BertTokenizerFast
  from transformers.models.bert.tokenization_bert import VOCAB_FILES_NAMES, BasicTokenizer, BertTokenizer, WordpieceTokenizer, _is_control, _is_punctuation, _is_whitespace
  from transformers.testing_utils import require_tokenizers, slow
  from ...test_tokenization_common import TokenizerTesterMixin, filter_non_english
label_desc: Use image node_id 22 for calling the BertTokenizationTest obj's underlying member method code with example usage: obj.test_change_tokenize_chinese_chars() without return types