import warnings

from ...utils import logging
from .image_processing_donut import DonutImageProcessor


__a    :	Any         =    logging.get_logger(__name__)




class   _UpperCamelCase (		_UpperCAmelCase					):


			"""simple docstring"""






			def __init__(  self ,  *lowerCAmelCase__ ,  **lowerCAmelCase__		)	->   None:

							'''simple docstring'''


							warnings.warn(
							    '''The class DonutFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
							    ''' use DonutImageProcessor instead.''' ,  lowerCAmelCase__ ,  )
							super().__init__(*lowerCAmelCase__ ,  **lowerCAmelCase__		)
import unittest

from accelerate import debug_launcher
from accelerate.test_utils import require_cpu, test_ops, test_script




@require_cpu
class   _UpperCamelCase (		unittest.TestCase					):


			"""simple docstring"""






			def 			_SCREAMING_SNAKE_CASE     (  self		)	->   int:

							'''simple docstring'''


							debug_launcher(test_script.main		)





			def 			_SCREAMING_SNAKE_CASE     (  self		)	->   Union[str, Any]:

							'''simple docstring'''


							debug_launcher(test_ops.main		)