code: def test_padding_to_multiple_of(self):
      tokenizers = self.get_tokenizers()
      for tokenizer in tokenizers:
          with self.subTest(f"{tokenizer.__class__.__name__}"):
              table = self.get_table(tokenizer, length=0)
              if tokenizer.pad_token is None:
                  self.skipTest("No padding token.")
              else:
                  empty_tokens = tokenizer(
                      table, padding=True, pad_to_multiple_of=8
                  )
                  normal_tokens = tokenizer(
                      table,
                      "This is a sample input",
                      padding=True,
                      pad_to_multiple_of=8,
                  )
                  for key, value in empty_tokens.items():
                      self.assertEqual(
                          len(value) % 8,
                          0,
                          f"BatchEncoding.{key} is not multiple of 8",
                      )
                  for key, value in normal_tokens.items():
                      self.assertEqual(
                          len(value) % 8,
                          0,
                          f"BatchEncoding.{key} is not multiple of 8",
                      )
  
                  normal_tokens = tokenizer(
                      table, "This", pad_to_multiple_of=8
                  )
                  for key, value in normal_tokens.items():
                      self.assertNotEqual(
                          len(value) % 8,
                          0,
                          f"BatchEncoding.{key} is not multiple of 8",
                      )
  
                  # Should also work with truncation
                  normal_tokens = tokenizer(
                      table,
                      "This",
                      padding=True,
                      truncation=True,
                      pad_to_multiple_of=8,
                  )
                  for key, value in normal_tokens.items():
                      self.assertEqual(
                          len(value) % 8,
                          0,
                          f"BatchEncoding.{key} is not multiple of 8",
                      )
  
imports: import json
  import os
  import shutil
  import tempfile
  import unittest
  from typing import List
  import pandas
  from transformers import AddedToken, TapexTokenizer
  from transformers.models.tapex.tokenization_tapex import VOCAB_FILES_NAMES
  from transformers.testing_utils import is_pt_tf_cross_test, require_pandas, slow
  from ...test_tokenization_common import TokenizerTesterMixin
label_desc: Use image node_id 26 for calling the TapexTokenizationTest obj's underlying member method code with example usage: obj.test_padding_to_multiple_of() without return types