%PDF- %PDF-
Direktori : /lib/python3.12/unittest/__pycache__/ |
Current File : //lib/python3.12/unittest/__pycache__/result.cpython-312.pyc |
� ���f�# � �` � d Z ddlZddlZddlZddlmZ ddlmZ dZd� Z dZ d Z G d � de� Z y)zTest result object� N� )�util��wrapsTc �. � � t � � � fd�� }|S )Nc �V �� t | dd� r| j � �| g|��i |��S )N�failfastF)�getattr�stop)�self�args�kw�methods ��&/usr/lib/python3.12/unittest/result.py�innerzfailfast.<locals>.inner s- �� ��4��U�+��I�I�K��d�(�T�(�R�(�(� r )r r s ` r r r s �� � �6�]�)� �)� �Lr z Stdout: %sz Stderr: %sc �� � e Zd ZdZdZdZdZdd�Zd� Zd� Z d� Z d� Zd � Zd � Z d� Zed� � Zed � � Zd� Zd� Zd� Zd� Zed� � Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zy)� TestResulta� Holder for test result information. Test results are automatically managed by the TestCase and TestSuite classes, and do not need to be explicitly manipulated by writers of tests. Each instance holds the total number of tests run, and collections of failures and errors that occurred among those test runs. The collections contain tuples of (testcase, exceptioninfo), where exceptioninfo is the formatted traceback of the error that occurred. NFc � � d| _ g | _ g | _ d| _ g | _ g | _ g | _ g | _ d| _ d| _ d| _ d | _ d | _ t j | _ t j | _ d| _ y )NFr )r �failures�errors�testsRun�skipped�expectedFailures�unexpectedSuccesses�collectedDurations� shouldStop�buffer� tb_locals�_stdout_buffer�_stderr_buffer�sys�stdout�_original_stdout�stderr�_original_stderr� _mirrorOutput)r �stream�descriptions� verbositys r �__init__zTestResult.__init__&