





'''simple docstring'''
import unittest

from transformers import DonutProcessor


a__							:							List[str] ='''naver-clova-ix/donut-base'''

class      snake_case     (    unittest.TestCase       ):




 """simple docstring"""



 def        _lowerCamelCase					(       self       :							Dict	):
        __UpperCamelCase       =  DonutProcessor.from_pretrained(__A	)






 def        _lowerCamelCase					(       self       :							List[Any]	):
        __UpperCamelCase       =  {
            'name': 'John Doe',
            'age': '99',
            'city': 'Atlanta',
            'state': 'GA',
            'zip': '30301',
            'phone': '123-4567',
            'nicknames': [{'nickname': 'Johnny'}, {'nickname': 'JD'}],
        }

        __UpperCamelCase       =  (
            '<s_name>John Doe</s_name><s_age>99</s_age><s_city>Atlanta</s_city>'
            '<s_state>GA</s_state><s_zip>30301</s_zip><s_phone>123-4567</s_phone>'
            '<s_nicknames><s_nickname>Johnny</s_nickname>'
            '<sep/><s_nickname>JD</s_nickname></s_nicknames>'
        )
        __UpperCamelCase       =  self.processor.tokenajson(__A	)

        self.assertDictEqual(__A							,	__A	)







"""simple docstring"""
_snake_case     :		Optional[int]       						= [
    'DownloadConfig',
    'DownloadManager',
    'DownloadMode',
    'StreamingDownloadManager',
]

from .download_config import DownloadConfig
from .download_manager import DownloadManager, DownloadMode
from .streaming_download_manager import StreamingDownloadManager


