관리-도구
편집 파일: __init__.cpython-311.pyc
� �܋f: � � � d Z ddlZddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z dd lm Z dd lmZ ddlm Z ddlmZ dd lmZ ddlmZ ddlmZ erddlmZ deddfd�Zdeddfd�Z G d� d� � Z G d� d� � Zdede j fd�Zd)d�Z edd� � � d!eded" fd#�� � Zd)d$�Z ded%ed&ed'edeee f d(�Z!dS )*zBSupport for presenting detailed information in failing assertions.� N)�Any)� Generator)�List)�Optional)� TYPE_CHECKING)�rewrite)�truncate)�util)�assertstate_key)�Config)�hookimpl)�Parser)�Item)�Session�parser�returnc � � | � d� � }|� ddddddd� � � | � d ddd �� � d S )N�debugconfigz--assert�store� assertmode)r �plainr �MODEz�Control assertion debugging tools. 'plain' performs no assertion debugging. 'rewrite' (the default) rewrites assert statements in test modules on import to provide assert expression information.)�action�dest�choices�default�metavar�help�enable_assertion_pass_hook�boolFzeEnables the pytest_assertion_pass hook. Make sure to delete any previously generated pyc cache files.)�typer r )�getgroup� addoption�addini)r �groups �k/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/_pytest/assertion/__init__.py�pytest_addoptionr'