

# 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.
A__     :   str						=							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 					_lowercase     (				a_				:					str				)				->	Optional[Any]:




					'''simple docstring'''







					from transformers.testing_utils import pytest_addoption_shared

					pytest_addoption_shared(a_				)




def 					_lowercase     (				a_				:					Any				)				->	List[Any]:




					'''simple docstring'''







					from transformers.testing_utils import pytest_terminal_summary_main

					__magic_name__							=    terminalreporter.config.getoption('--make-reports'				)
					if make_reports:
										pytest_terminal_summary_main(a_					,id=a_				)







from math import factorial, radians




def 					_lowercase     (				a_				:					float					,a_				:					int = 1_8					,a_				:					int = 1_0				)				->	float:




					'''simple docstring'''







					__magic_name__							=    angle_in_degrees - ((angle_in_degrees // 360.0) * 360.0)

					# Converting from degrees to radians
					__magic_name__							=    radians(a_				)

					__magic_name__							=    angle_in_radians
					__magic_name__							=    3
					__magic_name__							=    -1

					for _ in range(a_				):
										result += (b * (angle_in_radians**a)) / factorial(a_				)

										__magic_name__							=    -b  # One positive term and the next will be negative and so on...
										a += 2  # Increased by 2 for every term.

					return round(a_					,a_				)


if __name__ == "__main__":
						__import__("doctest").testmod()




