관리-도구
편집 파일: stepwise.cpython-311.pyc
� �܋fj � �� � d dl mZ d dl mZ d dl mZ d dlZd dlmZ d dlmZ d dl m Z d dlmZ d d l mZ erd d lmZ dZde d dfd�Zej ded dfd�� � Zded dfd�Z G d� d� � ZdS )� )�List)�Optional)� TYPE_CHECKINGN)�nodes)�Config)�Parser)�Session)� TestReport)�Cachezcache/stepwise�parser�returnc � � | � d� � }|� dddddd�� � |� d d dddd�� � d S ) N�generalz--swz --stepwise� store_trueF�stepwisezBExit on test failure and continue from last failing test next time)�action�default�dest�helpz --sw-skipz--stepwise-skip� stepwise_skipz_Ignore the first failing test but stop on the next failing test. Implicitly enables --stepwise.)�getgroup� addoption)r �groups �a/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/_pytest/stepwise.py�pytest_addoptionr s{ � ��O�O�I�&�&�E� �O�O����� � Q� � � � � �O�O����� �)� � � � � � � �configc � � | j j rd| j _ | � d� � r*| j � t | � � d� � d S d S )NTr �stepwiseplugin)�optionr r � getoption� pluginmanager�register�StepwisePlugin)r s r �pytest_configurer% '