code: def setUp(self):
      super().setUp()
  
      # Use a simpler test file without japanese/chinese characters
      with open(
          f"{get_tests_dir()}/fixtures/sample_text_no_unicode.txt",
          encoding="utf-8",
      ) as f_data:
          self._data = f_data.read().replace("\n\n", "\n").strip()
  
      vocab = [
          "<s>",
          "</s>",
          "l",
          "o",
          "w",
          "e",
          "r",
          "s",
          "t",
          "i",
          "d",
          "n",
          "w</w>",
          "r</w>",
          "t</w>",
          "lo",
          "low",
          "er</w>",
          "low</w>",
          "lowest</w>",
          "newer</w>",
          "wider</w>",
          ",</w>",
          "<unk>",
      ]
      vocab_tokens = dict(zip(vocab, range(len(vocab))))
      merges = ["l o 123", "lo w 1456", "e r</w> 1789", ""]
  
      self.vocab_file = os.path.join(
          self.tmpdirname, VOCAB_FILES_NAMES["vocab_file"]
      )
      self.merges_file = os.path.join(
          self.tmpdirname, VOCAB_FILES_NAMES["merges_file"]
      )
      with open(self.vocab_file, "w") as fp:
          fp.write(json.dumps(vocab_tokens))
      with open(self.merges_file, "w") as fp:
          fp.write("\n".join(merges))
  
file_path: transformers/tests/models/herbert/test_tokenization_herbert.py
imports: import json
  import os
  import unittest
  from transformers import HerbertTokenizer, HerbertTokenizerFast
  from transformers.models.herbert.tokenization_herbert import VOCAB_FILES_NAMES
  from transformers.testing_utils import get_tests_dir, require_tokenizers, slow
  from ...test_tokenization_common import TokenizerTesterMixin
label_desc: Use image node_id 1 for calling the HerbertTokenizationTest obj's underlying member method code with example usage: obj.setUp() without return types