o
    Zh                     @   s   d dl mZ d dl mZ d dlmZ d dlmZ d dlmZ d dlm	Z	 d dlm
Z
 d dlZd	ed
dfddZejddde	e de
d
ee fddZejddded
eeeef  fddZdS )    )Optional)Union)Config)ExitCode)Parser)
FixtureDef)
SubRequestNparserreturnc                 C   s    |  d}|jddddd d S )NZdebugconfigz--setupplanz--setup-plan
store_truezIShow what fixtures and tests would be executed but don't execute anything)actionhelp)ZgetgroupZ	addoption)r	   group r   H/var/www/html/lang_env/lib/python3.10/site-packages/_pytest/setupplan.pypytest_addoption   s   

r   T)Ztryfirst
fixturedefrequestc                 C   s*   |j jjr| |}d |d f| _| jS d S )N)configoption	setupplan	cache_keyZcached_result)r   r   Zmy_cache_keyr   r   r   pytest_fixture_setup   s
   

r   r   c                 C   s   | j jrd| j _d| j _d S )NT)r   r   Z	setuponlyZ	setupshow)r   r   r   r   pytest_cmdline_main#   s   r   )typingr   r   Z_pytest.configr   r   Z_pytest.config.argparsingr   Z_pytest.fixturesr   r   Zpytestr   Zhookimplobjectr   intr   r   r   r   r   <module>   s&    

$