관리-도구
편집 파일: outcomes.cpython-311.pyc
� �܋f( � �h � d Z ddlZddlZddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z dd lm Z dd lmZ dZ e rddlmZ ndd lmZ eZ G d� de� � ZeefZ G d� de� � Z G d� de� � Z G d� de� � Z e dedef �� � Z e de e �� � Z G d� deeef � � Zdedeegeeef f fd�Z ee� � d3dd �d!ed"ee d#ee defd$�� � Z ee� � d4ddd%�d!ed&e d#ee defd'�� � Z! ee� � d5d!ed)e d#ee defd*�� � Z" d6d+ed!ed#ee defd,�Z# G d-� d.e� � Z$ ee$� � d4d!edefd/�� � Z% d7d0ed1ee d!ee defd2�Z&dS )8zZException classes and constants handling test outcomes as well as functions creating them.� N)�Any)�Callable)�cast)�NoReturn)�Optional)�Type)�TypeVar)�KEYWORD_MSG_ARGF)�Protocol)�Genericc �N � � e Zd ZdZd dee deddf� fd� Zdefd�ZeZ � xZ S ) �OutcomeExceptionzmOutcomeException and its subclass instances indicate and contain info about test and collection outcomes.NT�msg�pytrace�returnc �& �� |�^t |t � � sId}t |� t | � � j t |� � j � � � � �t � � � |� � || _ || _ d S )NzY{} expected string as 'msg' parameter, got '{}' instead. Perhaps you meant to use a mark?) � isinstance�str� TypeError�format�type�__name__�super�__init__r r )�selfr r � error_msg� __class__s ��a/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/_pytest/outcomes.pyr zOutcomeException.__init__ s| �� ��?�:�c�3�#7�#7�?�3� � �I�,�,�T�$�Z�Z�-@�$�s�)�)�BT�U�U�V�V�V� ����������������� c �>