code: def test_env_override(self):
      # reset for the env var to take effect, next time some logger call is made
      transformers.utils.logging._reset_library_root_logger()
      # this action activates the env var
      _ = logging.get_logger(
          "transformers.models.bart.tokenization_bart"
      )
  
      env_level_str = os.getenv("TRANSFORMERS_VERBOSITY", None)
      env_level = logging.log_levels[env_level_str]
  
      current_level = logging.get_verbosity()
      self.assertEqual(
          env_level,
          current_level,
          f"TRANSFORMERS_VERBOSITY={env_level_str}/{env_level}, but internal verbosity is {current_level}",
      )
  
      # restore to the original level
      os.environ["TRANSFORMERS_VERBOSITY"] = ""
      transformers.utils.logging._reset_library_root_logger()
  
file_path: H2O/h2o_flexgen/benchmark/third_party/transformers/tests/utils/test_logging.py
imports: import os
  import unittest
  import transformers.models.bart.tokenization_bart
  from huggingface_hub.utils import are_progress_bars_disabled
  from transformers import logging
  from transformers.testing_utils import CaptureLogger, mockenv, mockenv_context
  from transformers.utils.logging import disable_progress_bar, enable_progress_bar
label_desc: Use image node_id 3 for calling the HfArgumentParserTest obj's underlying member method code with example usage: obj.test_env_override() without return types