



'''simple docstring'''

import pytest

import datasets


# Import fixture modules as plugins
__lowerCAmelCase									=   ['''tests.fixtures.files''', '''tests.fixtures.hub''', '''tests.fixtures.fsspec''']



def      __lowerCamelCase     (      lowerCAmelCase_						,			lowerCAmelCase_  )			->      str:
		# Mark tests as "unit" by default if not marked as "integration" (or already marked as "unit")
		for item in items:
				if any(marker in item.keywords for marker in ['integration', 'unit']  ):
						continue
				item.add_marker(pytest.mark.unit  )



def      __lowerCamelCase     (      lowerCAmelCase_  )			->      Optional[int]:
		config.addinivalue_line('markers'						,			'torchaudio_latest: mark test to run with torchaudio>=0.12'  )



@pytest.fixture(autouse=lowerCAmelCase_  )
def      __lowerCamelCase     (      lowerCAmelCase_						,			lowerCAmelCase_  )			->      Any:
		# test_hf_cache_home = tmp_path_factory.mktemp("cache")  # TODO: why a cache dir per test function does not work?
		_a     :      List[str]        =							tmp_path_factory.getbasetemp() / 'cache'
		_a     :      Any        =							test_hf_cache_home / 'datasets'
		_a     :      str        =							test_hf_cache_home / 'metrics'
		_a     :      Optional[Any]        =							test_hf_cache_home / 'modules'
		monkeypatch.setattr('datasets.config.HF_DATASETS_CACHE'						,			str(lowerCAmelCase_  )  )
		monkeypatch.setattr('datasets.config.HF_METRICS_CACHE'						,			str(lowerCAmelCase_  )  )
		monkeypatch.setattr('datasets.config.HF_MODULES_CACHE'						,			str(lowerCAmelCase_  )  )
		_a     :      Any        =							test_hf_datasets_cache / 'downloads'
		monkeypatch.setattr('datasets.config.DOWNLOADED_DATASETS_PATH'						,			str(lowerCAmelCase_  )  )
		_a     :      str        =							test_hf_datasets_cache / 'downloads' / 'extracted'
		monkeypatch.setattr('datasets.config.EXTRACTED_DATASETS_PATH'						,			str(lowerCAmelCase_  )  )



@pytest.fixture(autouse=lowerCAmelCase_						,			scope='session'  )
def      __lowerCamelCase     (      )			->      Tuple:
		datasets.disable_progress_bar()



@pytest.fixture(autouse=lowerCAmelCase_  )
def      __lowerCamelCase     (      lowerCAmelCase_  )			->      Dict:
		# don't take tests into account when counting downloads
		monkeypatch.setattr('datasets.config.HF_UPDATE_DOWNLOAD_COUNTS'						,			lowerCAmelCase_  )



@pytest.fixture
def      __lowerCamelCase     (      lowerCAmelCase_  )			->      Optional[int]:
		# Required to suppress RemovedIn20Warning when feature(s) are not compatible with SQLAlchemy 2.0
		# To be removed once SQLAlchemy 2.0 supported
		monkeypatch.setattr('sqlalchemy.util.deprecations.SILENCE_UBER_WARNING'						,			lowerCAmelCase_  )









'''simple docstring'''

def      __lowerCamelCase     (      )			->      Tuple:
		for n in range(1						,			1000000  ):
				yield n * (n + 1) // 2



def      __lowerCamelCase     (      lowerCAmelCase_  )			->      List[Any]:
		_a     :      Any        =							1
		_a     :      Tuple        =							2
		while i * i <= n:
				_a     :      Tuple        =							0
				while n % i == 0:
						n //= i
						multiplicity += 1
				divisors_count *= multiplicity + 1
				i += 1
		if n > 1:
				divisors_count *= 2
		return divisors_count



def      __lowerCamelCase     (      )			->      str:
		return next(i for i in triangle_number_generator() if count_divisors(lowerCAmelCase_  ) > 500  )


if __name__ == "__main__":
							print(solution())




