





def  SCREAMING_SNAKE_CASE__							(				UpperCamelCase__:							list			):
		SCREAMING_SNAKE_CASE__								=					len(UpperCamelCase__			)

		# Set the gap value to be decreased by a factor of 1.3
		# after each iteration
		SCREAMING_SNAKE_CASE__								=					1.3

		# Continue sorting until the gap is 1
		while gap > 1:
				# Decrease the gap value
				SCREAMING_SNAKE_CASE__								=					int(gap / shrink			)

				# Sort the elements using insertion sort
				for i in range(UpperCamelCase__    ,      len(UpperCamelCase__			)			):
						SCREAMING_SNAKE_CASE__								=					collection[i]
						SCREAMING_SNAKE_CASE__								=					i
						while j >= gap and collection[j - gap] > temp:
								SCREAMING_SNAKE_CASE__								=					collection[j - gap]
								j -= gap
						SCREAMING_SNAKE_CASE__								=					temp

		return collection


if __name__ == "__main__":
	import doctest

	doctest.testmod()






# 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.
_lowerCamelCase       =	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  SCREAMING_SNAKE_CASE__							(				UpperCamelCase__:							Tuple			):
		from transformers.testing_utils import pytest_addoption_shared

		pytest_addoption_shared(UpperCamelCase__			)






def  SCREAMING_SNAKE_CASE__							(				UpperCamelCase__:							Tuple			):
		from transformers.testing_utils import pytest_terminal_summary_main

		SCREAMING_SNAKE_CASE__								=					terminalreporter.config.getoption("""--make-reports"""			)
		if make_reports:
				pytest_terminal_summary_main(UpperCamelCase__    ,      id=UpperCamelCase__			)