code: def test_tokenizer_encode_single(self):
      tokenizer = self.tokenizer_class(self.vocab_file)
  
      seq = "LAGVS"
      self.assertListEqual(tokenizer.encode(seq), [0, 4, 5, 6, 7, 8, 2])
  
file_path: H2O/h2o_flexgen/benchmark/third_party/transformers/tests/models/esm/test_tokenization_esm.py
imports: import os
  import tempfile
  import unittest
  from typing import List
  from transformers.models.esm.tokenization_esm import VOCAB_FILES_NAMES, EsmTokenizer
  from transformers.testing_utils import require_tokenizers
  from transformers.tokenization_utils import PreTrainedTokenizer
  from transformers.tokenization_utils_base import PreTrainedTokenizerBase
label_desc: Use image node_id 5 for calling the ESMTokenizationTest obj's underlying member method code with example usage: obj.test_tokenizer_encode_single() without return types