import pytest

import datasets


# Import fixture modules as plugins
SCREAMING_SNAKE_CASE			:						Union[str, Any]				  =		["""tests.fixtures.files""", """tests.fixtures.hub""", """tests.fixtures.fsspec"""]



def 	__A		(      _A				,					_A       ):



 """simple docstring"""


 for item in items:
  if any(marker in item.keywords for marker in ["integration", "unit"]       ):
   continue
  item.add_marker(pytest.mark.unit       )



def 	__A		(      _A       ):



 """simple docstring"""


 config.addinivalue_line("markers"				,					"torchaudio_latest: mark test to run with torchaudio>=0.12"       )



@pytest.fixture(autouse=_A       )
def 	__A		(      _A				,					_A       ):



 """simple docstring"""


 __a							=	tmp_path_factory.getbasetemp() / "cache"
 __a							=	test_hf_cache_home / "datasets"
 __a							=	test_hf_cache_home / "metrics"
 __a							=	test_hf_cache_home / "modules"
 monkeypatch.setattr("datasets.config.HF_DATASETS_CACHE"				,					str(_A       )       )
 monkeypatch.setattr("datasets.config.HF_METRICS_CACHE"				,					str(_A       )       )
 monkeypatch.setattr("datasets.config.HF_MODULES_CACHE"				,					str(_A       )       )
 __a							=	test_hf_datasets_cache / "downloads"
 monkeypatch.setattr("datasets.config.DOWNLOADED_DATASETS_PATH"				,					str(_A       )       )
 __a							=	test_hf_datasets_cache / "downloads" / "extracted"
 monkeypatch.setattr("datasets.config.EXTRACTED_DATASETS_PATH"				,					str(_A       )       )



@pytest.fixture(autouse=_A				,					scope="session"       )
def 	__A		(      ):



 """simple docstring"""


 datasets.disable_progress_bar()



@pytest.fixture(autouse=_A       )
def 	__A		(      _A       ):



 """simple docstring"""


 monkeypatch.setattr("datasets.config.HF_UPDATE_DOWNLOAD_COUNTS"				,					_A       )






@pytest.fixture
def 	__A		(      _A       ):



 """simple docstring"""


 monkeypatch.setattr("sqlalchemy.util.deprecations.SILENCE_UBER_WARNING"				,					_A       )



from ...utils import logging
from ..ta.modeling_tf_ta import TFTaEncoderModel, TFTaForConditionalGeneration, TFTaModel
from .configuration_mta import MTaConfig


SCREAMING_SNAKE_CASE			:						int				  =		logging.get_logger(__name__)

SCREAMING_SNAKE_CASE			:						Any				  =		"""T5Config"""
class  A_			(							a_			):
  _SCREAMING_SNAKE_CASE     					=      """mt5"""
  _SCREAMING_SNAKE_CASE     					=      MTaConfig
class  A_			(							a_			):
  _SCREAMING_SNAKE_CASE     					=      """mt5"""
  _SCREAMING_SNAKE_CASE     					=      MTaConfig
class  A_			(							a_			):
  _SCREAMING_SNAKE_CASE     					=      """mt5"""
  _SCREAMING_SNAKE_CASE     					=      MTaConfig


