AlkantarClanX12
Current Path : /lib64/python3.6/unittest/__pycache__/ |
Current File : //lib64/python3.6/unittest/__pycache__/result.cpython-36.opt-2.pyc |
3 \ � @ 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| j� � | f|�|�S )N�failfastF)�getattr�stop)�self�args�kw)�method� �'/usr/lib64/python3.6/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__&