

'''simple docstring'''
import inspect
import unittest


class        a__  (							unittest.TestCase  ):


   def 						_lowerCamelCase       (			self  ):





      """simple docstring"""





      try:
         import diffusers  # noqa: F401
      except ImportError:
         assert False






   def 						_lowerCamelCase       (			self  ):





      """simple docstring"""





      import diffusers
      from diffusers.dependency_versions_table import deps

      _lowercase      :				List[str]      					=       inspect.getmembers(_UpperCamelCase      ,    inspect.isclass  )

      for cls_name, cls_module in all_classes:
         if "dummy_" in cls_module.__module__:
            for backend in cls_module._backends:
               if backend == "k_diffusion":
                  _lowercase      :				List[str]      					=       "k-diffusion"
               elif backend == "invisible_watermark":
                  _lowercase      :				str      					=       "invisible-watermark"
               assert backend in deps, f'''{backend} is not in the deps table!'''









'''simple docstring'''
import warnings

from ...utils import logging
from .image_processing_chinese_clip import ChineseCLIPImageProcessor


_snake_case         =  logging.get_logger(__name__)


class        a__  (							lowerCamelCase_  ):


   def __init__(			self      ,    *_UpperCamelCase      ,    **_UpperCamelCase  ):





      """simple docstring"""





      warnings.warn(
          "The class ChineseCLIPFeatureExtractor is deprecated and will be removed in version 5 of Transformers."
          " Please use ChineseCLIPImageProcessor instead."      ,    _UpperCamelCase      ,    )
      super().__init__(*_UpperCamelCase      ,    **_UpperCamelCase  )






