


'''simple docstring'''
# tests directory-specific settings - this file is run automatically
# by pytest before any tests are run

import sys
import warnings
from os.path import abspath, dirname, join


# allow having multiple repository checkouts and not needing to remember to rerun
# 'pip install -e .[dev]' when switching between checkouts and running tests.
__snake_case											=					abspath(join(dirname(dirname(dirname(__file__))), '''src'''))
sys.path.insert(1, git_repo_path)


# silence FutureWarning warnings in tests since often we can't act on them until
# they become normal warnings - i.e. the tests still need to test the current functionality
warnings.simplefilter(action='''ignore''', category=FutureWarning)


def       a				(      __a       )  ->     List[str]:



					'''simple docstring'''






					from transformers.testing_utils import pytest_addoption_shared

					pytest_addoption_shared(lowerCAmelCase__       )







def       a				(      __a       )  ->     str:



					'''simple docstring'''






					from transformers.testing_utils import pytest_terminal_summary_main

					UpperCamelCase__       :Union[str, Any]							 =			terminalreporter.config.getoption('''--make-reports'''       )
					if make_reports:
										pytest_terminal_summary_main(lowerCAmelCase__			, id=lowerCAmelCase__       )









'''simple docstring'''
from __future__ import annotations

__snake_case											=					[True] * 1000001
__snake_case											=					2
while i * i <= 1000000:
		if seive[i]:
				for j in range(i * i, 1000001, i):
						__snake_case											=					False
		i += 1


def       a				(      __a       )  ->     bool:



					'''simple docstring'''






					return seive[n]


def       a				(      __a       )  ->     bool:



					'''simple docstring'''






					return any(digit in '''02468''' for digit in str(__a       )       )


def       a				(      __a = 1000000       )  ->     list[int]:



					'''simple docstring'''






					UpperCamelCase__       :Any							 =			[2]  # result already includes the number 2.
					for num in range(3			, limit + 1			, 2       ):
										if is_prime(__a       ) and not contains_an_even_digit(__a       ):
															UpperCamelCase__       :str							 =			str(__a       )
															UpperCamelCase__       :List[str]							 =			[int(str_num[j:] + str_num[:j]       ) for j in range(len(__a       )       )]
															if all(is_prime(__a       ) for i in list_nums       ):
																				result.append(__a       )
					return result


def       a				(      )  ->     int:



					'''simple docstring'''






					return len(find_circular_primes()       )


if __name__ == "__main__":
		print(F"""{len(find_circular_primes()) = }""")