AlkantarClanX12
Current Path : /opt/alt/python37/lib64/python3.7/unittest/__pycache__/ |
Current File : //opt/alt/python37/lib64/python3.7/unittest/__pycache__/result.cpython-37.opt-2.pyc |
B YI~d � @ 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� �4/opt/alt/python37/lib64/python3.7/unittest/result.py�inner s zfailfast.<locals>.inner)r )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__&