






'''simple docstring'''




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(__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       __UpperCAmelCase						(  lowerCamelCase_)							->     str:
		from diffusers.utils.testing_utils import pytest_addoption_shared

		pytest_addoption_shared(lowerCamelCase_)







def       __UpperCAmelCase						(  lowerCamelCase_)							->     Optional[int]:
		from diffusers.utils.testing_utils import pytest_terminal_summary_main

		UpperCamelCase__				:					Any					=					terminalreporter.config.getoption('--make-reports')
		if make_reports:
				pytest_terminal_summary_main(lowerCamelCase_     ,      id=lowerCamelCase_)












'''simple docstring'''




import requests
from bsa import BeautifulSoup







def       __UpperCAmelCase						(  lowerCamelCase_ = "AAPL")							->     str:
		UpperCamelCase__				:					str					=					f'https://in.finance.yahoo.com/quote/{symbol}?s={symbol}'
		UpperCamelCase__				:					Optional[Any]					=					BeautifulSoup(requests.get(lowerCamelCase_).text     ,      'html.parser')
		UpperCamelCase__				:					Union[str, Any]					=					'My(6px) Pos(r) smartphone_Mt(6px)'
		return soup.find('div'     ,      class_=class_).find('span').text


if __name__ == "__main__":
		for symbol in "AAPL AMZN IBM GOOG MSFT ORCL".split():
				print(f'''Current {symbol:<4} stock price is {stock_price(symbol):>8}''')




