MINI MINI MANI MO
3
  \                 @   s\   d Z ddlZddlZddlZddlmZ ddlmZ dZdd Z	d	Z
d
ZG dd deZ
dS )
zTest result object    N   )util)wrapsTc                s   t   fdd}|S )Nc                s$   t | ddr| j   | f||S )NfailfastF)getattrstop)selfargskw)method '/usr/lib64/python3.6/unittest/result.pyinner
   s    zfailfast.<locals>.inner)r   )r   r   r   )r   r
   r      s    r   z
Stdout:
%sz
Stderr:
%sc               @   s   e Zd ZdZdZdZdZd.ddZdd Zdd	 Z	d
d Z
dd
 Zdd Zdd Z
dd Zedd Zedd Zdd Zdd Zdd Zdd Zed d! Zd"d# Zd$d% Zd&d' Zd(d) Zd*d+ Zd,d- ZdS )/
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             C   sb   d| _ g | _g | _d| _g | _g | _g | _d| _d| _d| _	d | _
d | _tj
| _tj| _d| _d S )NFr   )r   failureserrorstestsRunskippedexpectedFailuresunexpectedSuccesses
shouldStopbuffer	tb_locals_stdout_buffer_stderr_buffersysstdout_original_stdoutstderr_original_stderr
_mirrorOutput)r   streamZdescriptions	verbosityr   r   r
   __init__&