code: 
  
  
  
  
  
  '''simple docstring'''
  
  
  
  
  import unittest
  
  from transformers import is_torch_available, load_tool
  
  from .test_tools_common import ToolTesterMixin
  
  
  if is_torch_available():
  			import torch
  
  
  
  
  
  
  class 							__snake_case    (				unittest.TestCase					,					__magic_name__       ):
  
  
  
  
  
  	def      _snake_case      (		self		)			->		List[str]:
  		snake_case__  					=      load_tool('speech-to-text'		)
  		self.tool.setup()
  
  
  
  
  
  	def      _snake_case      (		self		)			->		str:
  		snake_case__  					=      self.tool(torch.ones(3000		)		)
  		self.assertEqual(UpperCamelCase_			,					' you'		)
  
  
  
  
  
  	def      _snake_case      (		self		)			->		List[Any]:
  		snake_case__  					=      self.tool(audio=torch.ones(3000		)		)
  		self.assertEqual(UpperCamelCase_			,					' you'		)
  
  
  
  
style_context: 
  
  
  
  
  
  '''simple docstring'''
  
  
  
  
  from typing import Callable
  
  
  
  
  def 	__lowerCamelCase (  UpperCAmelCase_       )      ->str:
  
  	def wrapper(UpperCAmelCase_       ):
  		snake_case__  					=      function_with_docstring.__doc__
  		return target_function
  
  	return wrapper
  
  
  
  