관리-도구
편집 파일: runner.cpython-311.pyc
� �܋fH � � � d Z ddlZddlZddlZddlZddlmZ ddlmZ ddlmZ ddlm Z ddlm Z ddlmZ dd lmZ dd lm Z ddlmZ ddlmZ dd lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddl m!Z! ddl"m#Z# ddl"m$Z$ ddl"m%Z% ddl&m'Z' ddl&m(Z( ddl&m)Z) dd l&m*Z* ej+ dd!� d"k rdd#l,m-Z- erdd$l.m/Z/ dd%l0m1Z1 dd&l2m3Z3 d'ed(dfd)�Z4dPd,�Z5dQd/�Z6dQd0�Z7d1e$d2ee$ d(e8fd3�Z9 dRd1e$d5e8d2ee$ d(e e fd6�Z:d1e$d(dfd7�Z;d1e$d(dfd8�Z<d1e$d(dfd9�Z=d1e$d2ee$ d(dfd:�Z>d1e$d;ed< d(dfd=�Z?d>ed(eee@e@e@f fd?�ZA dSd1e$d;d<d5e8d(efd@�ZBdAdBd>ed(e8fdC�ZCd1e$d;d<d(dDfdE�ZD edFd4�G� � ZEeejF G dH� dIe eE � � � � � � ZGd1e$dAeGd d(efdJ�ZHdKe#d(efdL�ZI G dM� dN� � ZJdKe#d(efdO�ZKdS )Tz3Basic collect and runtest protocol implementations.� N)�Callable)�cast)�Dict)�Generic)�List)�Optional)�Tuple)�Type)� TYPE_CHECKING)�TypeVar)�Union� )� BaseReport)�CollectErrorRepr)� CollectReport)� TestReport)�timing)�ExceptionChainRepr)� ExceptionInfo)�TerminalRepr)�final)�Parser)�check_ispytest)� Collector)�Item)�Node)�Exit)�OutcomeException)�Skipped)�TEST_OUTCOME� )� � )�BaseExceptionGroup)�Literal)�Session)�TerminalReporter�parser�returnc � � | � ddd�� � }|� ddt d dd� � � |� d dt ddd� � � d S ) Nzterminal reporting� Reporting�general)�afterz--durations�store�Nz1Show N slowest setup/test durations (N=0 for all))�action�type�default�metavar�helpz--durations-ming{�G�zt?zJMinimal duration in seconds for inclusion in slowest list. Default: 0.005.)�getgroup� addoption�int�float)r( �groups �_/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/_pytest/runner.py�pytest_addoptionr; 2 s� � ��O�O�0�+�Y�O�O�O�E� �O�O��� ��� @� � � � � �O�O��� ���� � � � � � � �terminalreporterr'