code: def test_tokenizer(self):
      feature_extractor = self.get_feature_extractor()
      tokenizer = self.get_tokenizer()
  
      processor = SeamlessM4TProcessor(
          tokenizer=tokenizer, feature_extractor=feature_extractor
      )
  
      input_str = "This is a test string"
  
      encoded_processor = processor(text=input_str)
  
      encoded_tok = tokenizer(input_str)
  
      for key in encoded_tok.keys():
          self.assertListEqual(encoded_tok[key], encoded_processor[key])
  
file_path: transformers/tests/models/seamless_m4t/test_processor_seamless_m4t.py
imports: import shutil
  import tempfile
  import unittest
  from transformers import SeamlessM4TFeatureExtractor, SeamlessM4TProcessor
  from transformers.models.seamless_m4t import SeamlessM4TTokenizer, SeamlessM4TTokenizerFast
  from transformers.testing_utils import require_torch
  from .test_feature_extraction_seamless_m4t import floats_list
label_desc: Use image node_id 8 for calling the SeamlessM4TProcessorTest obj's underlying member method code with example usage: obj.test_tokenizer() without return types