





"""simple docstring"""






from __future__ import annotations

def     __A      (			a_						:list   ,       a_						:int | None = None   ,       a_						:int | None = None)		->		None:
				if start is None:
								__a :						Union[str, Any]			       =  0

				if end is None:
								__a :						Tuple			       =  len(a_) - 1

				if start >= end:
								return

				__a :						Optional[Any]			       =  (start + end) // 2

				slowsort(a_   ,       a_   ,       a_)
				slowsort(a_   ,       mid + 1   ,       a_)

				if sequence[end] < sequence[mid]:
								__a       ,						__a :						List[Any]			       =  sequence[mid], sequence[end]

				slowsort(a_   ,       a_   ,       end - 1)


if __name__ == "__main__":
		from doctest import testmod

		testmod()






"""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.
A 			=  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_						:Tuple)		->		Dict:
				from transformers.testing_utils import pytest_addoption_shared

				pytest_addoption_shared(a_)






def     __A      (			a_						:Any)		->		int:
				from transformers.testing_utils import pytest_terminal_summary_main

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