Your IP : 3.21.247.221
U
e5d � @ sX d dl Z d dlZd dlZddlmZ d dlmZ dZdd� ZdZ d Z
G d
d� de�ZdS )� N� )�util��wrapsTc s t � �� fdd��}|S )Nc s$ t | dd�r| �� � | f|�|�S )N�failfastF)�getattr�stop)�self�args�kw��method� �'/usr/lib64/python3.8/unittest/result.py�inner
s zfailfast.<locals>.innerr )r
r r r r r s r z
Stdout:
%sz
Stderr:
%sc @ s� e Zd ZdZdZdZd-dd�Zdd� Zdd� Zd d
� Z dd� Z
d
d� Zdd� Zdd� Z
edd� �Zedd� �Zdd� Zdd� Zdd� Zdd� Zedd � �Zd!d"� Zd#d$� Zd%d&� Zd'd(� Zd)d*� Zd+d,� ZdS ).�
TestResultNFc C sb d| _ g | _g | _d| _g | _g | _g | _d| _d| _d| _ d | _
d | _tj
| _tj| _d| _d S )NFr )r �failures�errors�testsRun�skipped�expectedFailures�unexpectedSuccesses�
shouldStop�buffer� tb_locals�_stdout_buffer�_stderr_buffer�sys�stdout�_original_stdout�stderr�_original_stderr�
_mirrorOutput)r �streamZdescriptions� verbosityr r r �__init__&