code: def setUp(self):
      super().setUp()
  
      vocab = [
          "</s>",
          "<unk>",
          "▁This",
          "▁is",
          "▁a",
          "▁t",
          "est",
          "\u0120",
          "<pad>",
      ]
      vocab_tokens = dict(zip(vocab, range(len(vocab))))
      save_dir = Path(self.tmpdirname)
      save_json(
          vocab_tokens, save_dir / VOCAB_FILES_NAMES["vocab_file"]
      )
      if not (save_dir / VOCAB_FILES_NAMES["spm_file"]).exists():
          copyfile(SAMPLE_SP, save_dir / VOCAB_FILES_NAMES["spm_file"])
  
      tokenizer = M2M100Tokenizer.from_pretrained(self.tmpdirname)
      tokenizer.save_pretrained(self.tmpdirname)
  
imports: import tempfile
  import unittest
  from pathlib import Path
  from shutil import copyfile
  from transformers import M2M100Tokenizer, is_torch_available
  from transformers.testing_utils import get_tests_dir, nested_simplify, require_sentencepiece, require_tokenizers, require_torch, slow
  from transformers.utils import is_sentencepiece_available
  from ...test_tokenization_common import TokenizerTesterMixin
label_desc: Use image node_id 1 for calling the M2M100TokenizationTest obj's underlying member method code with example usage: obj.setUp() without return types