





import inspect
import unittest

class  __A(						unittest.TestCase ):

     def 	_UpperCamelCase     (      self      ):





            """simple docstring"""

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



     def 	_UpperCamelCase     (      self      ):





            """simple docstring"""

            import diffusers
            from diffusers.dependency_versions_table import deps

            _UpperCamelCase              =						inspect.getmembers(A,       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":
                                        _UpperCamelCase              =						'''k-diffusion'''
                                 elif backend == "invisible_watermark":
                                        _UpperCamelCase              =						'''invisible-watermark'''
                                 assert backend in deps, F'''{backend} is not in the deps table!'''













def     SCREAMING_SNAKE_CASE			(      lowerCAmelCase    ,       lowerCAmelCase    ,       lowerCAmelCase = 0    ,       lowerCAmelCase = 0					):
       _UpperCamelCase              =						right or len(lowerCAmelCase					) - 1
       if left > right:
              return -1
       elif list_data[left] == key:
              return left
       elif list_data[right] == key:
              return right
       else:
              return search(lowerCAmelCase    ,       lowerCAmelCase    ,       left + 1    ,       right - 1					)


if __name__ == "__main__":
       import doctest

       doctest.testmod()






