


"""simple docstring"""
import json

import requests

from .fetch_github_info import AUTHENTICATED_USER_ENDPOINT, fetch_github_info






def 						lowercase				(	_snake_case		: List[Any]	)	->Optional[Any]:
	"""simple docstring"""





	class      _UpperCAmelCase					:






			'''simple docstring'''

			def __init__(self							,			a_   ):





				'''simple docstring'''

				assert isinstance(a_							,			(bytes, str)   )
				__snake_case      :		Dict         =							content



			def 							SCREAMING_SNAKE_CASE    (self   ):





				'''simple docstring'''

				return json.loads(self.content   )

	def mock_response(*_snake_case		: Optional[int]	,  **_snake_case		: int	):
		assert args[0] == AUTHENTICATED_USER_ENDPOINT
		assert "Authorization" in kwargs["headers"]
		assert kwargs["headers"]["Authorization"].startswith('''token '''	)
		assert "Accept" in kwargs["headers"]
		return FakeResponse(b'''{"login":"test","id":1}'''	)

	monkeypatch.setattr(_snake_case	,  '''get'''	,  _snake_case	)
	__snake_case      :		List[str]         =							fetch_github_info('''token'''	)
	assert result["login"] == "test"
	assert result["id"] == 1









"""simple docstring"""


def   a__			(					__lowercase  ,      __lowercase )						->						Tuple:
				_A       	=      1
				while b > 0:
								if b & 1:
												res *= a

								a *= a
								b >>= 1

				return res






def   a__			(					__lowercase  ,      __lowercase  ,      __lowercase )						->						Optional[Any]:
				_A       	=      1
				while b > 0:
								if b & 1:
												_A       	=      ((res % c) * (a % c)) % c

								a *= a
								b >>= 1

				return res