code: def test_rust_and_python_full_tokenizers(self):
      if not self.test_rust_tokenizer:
          return
  
      if not self.test_slow_tokenizer:
          # as we don't have a slow version, we can't compare the outputs between slow and fast versions
          return
  
      tokenizer = self.get_tokenizer()
      rust_tokenizer = self.get_rust_tokenizer()
  
      words, boxes = self.get_words_and_boxes()
  
      ids = tokenizer.encode(
          words, boxes=boxes, add_special_tokens=False
      )
      rust_ids = rust_tokenizer.encode(
          words, boxes=boxes, add_special_tokens=False
      )
      self.assertListEqual(ids, rust_ids)
  
      ids = tokenizer.encode(
          words, boxes=boxes, add_special_tokens=True
      )
      rust_ids = rust_tokenizer.encode(
          words, boxes=boxes, add_special_tokens=True
      )
      self.assertListEqual(ids, rust_ids)
  
imports: import inspect
  import shutil
  import tempfile
  import unittest
  from typing import List
  from transformers import AddedToken, LayoutXLMTokenizerFast, SpecialTokensMixin, is_tf_available, is_torch_available, logging
  from transformers.models.layoutxlm.tokenization_layoutxlm import LayoutXLMTokenizer
  from transformers.testing_utils import get_tests_dir, is_pt_tf_cross_test, require_pandas, require_scatter, require_sentencepiece, require_tokenizers, require_torch, slow
  from ...test_tokenization_common import SMALL_TRAINING_CORPUS, TokenizerTesterMixin, filter_non_english, merge_model_tokenizer_mappings
label_desc: Use image node_id 35 for calling the LayoutXLMTokenizationTest obj's underlying member method code with example usage: obj.test_rust_and_python_full_tokenizers() without return types