code: def check_all_decorator_order():
      """Check that in all test files, the slow decorator is always last."""
      errors = []
      for fname in os.listdir(PATH_TO_TESTS):
          if fname.endswith(".py"):
              filename = os.path.join(PATH_TO_TESTS, fname)
              new_errors = check_decorator_order(filename)
              errors += [f"- {filename}, line {i}" for i in new_errors]
      if len(errors) > 0:
          msg = "\n".join(errors)
          raise ValueError(
              "The parameterized decorator (and its variants) should always be first, but this is not the case in the"
              f" following files:\n{msg}"
          )
  
imports: import inspect
  import os
  import re
  import sys
  import types
  import warnings
  from collections import OrderedDict
  from difflib import get_close_matches
  from pathlib import Path
  from typing import List, Tuple
  from transformers import is_flax_available, is_tf_available, is_torch_available
  from transformers.models.auto import get_values
  from transformers.models.auto.configuration_auto import CONFIG_MAPPING_NAMES
  from transformers.models.auto.feature_extraction_auto import FEATURE_EXTRACTOR_MAPPING_NAMES
  from transformers.models.auto.image_processing_auto import IMAGE_PROCESSOR_MAPPING_NAMES
  from transformers.models.auto.processing_auto import PROCESSOR_MAPPING_NAMES
  from transformers.models.auto.tokenization_auto import TOKENIZER_MAPPING_NAMES
  from transformers.utils import ENV_VARS_TRUE_VALUES, direct_transformers_import
label_desc: Use image node_id 22 for calling a global function with example usage: check_all_decorator_order() without return types