| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/site-packages/_pytest/__pycache__/ |
Upload File : |
�
��Hg� � � � d dl mZ d dlmZ d dlmZ d dlmZ d dlmZ d dl m
Z
d dlmZ d dlm
Z
d d lmZ d d
lZdd�Z ej$ d�
� dd�� Z dd�Z dd�Z ej$ d�� dd�� Zy
)� )�annotations)� Generator)�saferepr)�Config)�ExitCode)�Parser)�
FixtureDef)�
SubRequest)�ScopeNc �z � | j d� }|j dddd�� |j dddd �� y )
N�debugconfigz--setuponlyz--setup-only�
store_truez)Only setup fixtures, do not execute tests)�action�helpz--setupshowz--setup-showz,Show setup of fixtures while executing tests)�getgroup� addoption)�parser�groups �3C:\Python312\Lib\site-packages\_pytest/setuponly.py�pytest_addoptionr sL � ��O�O�M�*�E� �O�O����
8� � �
�O�O����
;� � � T)�wrapperc # �� K � d ��|j j j r�t |d� rj| j rKt | j � r| j |j � }n&| j |j }n|j }|| _ t | |j d� S S # |j j j r�t |d� rj| j rKt | j � r| j |j � }n&| j |j }n|j }|| _ t | |j d� w w xY w�w)N�param�SETUP)
�config�option� setupshow�hasattr�ids�callabler �param_index�cached_param�_show_fixture_action)�
fixturedef�requestr s r �pytest_fixture_setupr'