code: def test_tokenizer_lower_case(self):
      cased_tokenizer = TapexTokenizer.from_pretrained(
          "microsoft/tapex-base", do_lower_case=False
      )
      uncased_tokenizer = TapexTokenizer.from_pretrained(
          "microsoft/tapex-base", do_lower_case=True
      )
      answer_text = "Beijing, London, Paris"
      answer_text_lower = "beijing, london, paris"
  
      self.assertNotEqual(
          cased_tokenizer(answer=answer_text).input_ids,
          uncased_tokenizer(answer=answer_text).input_ids,
      )
      self.assertEqual(
          cased_tokenizer(answer=answer_text_lower).input_ids,
          uncased_tokenizer(answer=answer_text).input_ids,
      )
      # batched encoding assert
      self.assertNotEqual(
          cased_tokenizer(answer=[answer_text]).input_ids,
          uncased_tokenizer(answer=[answer_text]).input_ids,
      )
      self.assertEqual(
          cased_tokenizer(answer=[answer_text_lower]).input_ids,
          uncased_tokenizer(answer=[answer_text]).input_ids,
      )
      # test input encoding lowercase
      question = "Greece held its last Summer Olympics in 2004"
      table_dict = {
          "header": ["Year", "City", "Country", "Nations"],
          "rows": [
              [1896, "Athens", "Greece", 14],
              [1900, "Paris", "France", 24],
              [1904, "St. Louis", "USA", 12],
              [2004, "Athens", "Greece", 201],
              [2008, "Beijing", "China", 204],
              [2012, "London", "UK", 204],
          ],
      }
      table = pd.DataFrame.from_dict(table_dict["rows"])
      table.columns = table_dict["header"]
  
      self.assertNotEqual(
          cased_tokenizer(table=table, query=question).input_ids,
          uncased_tokenizer(table=table, query=question).input_ids,
      )
  
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 34 for calling the TapexTokenizationTest obj's underlying member method code with example usage: obj.test_tokenizer_lower_case() without return types