File "runner.cpython-38.pyc"
Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/lib64/python3.8/unittest/__pycache__/runner.cpython-38.pyc
File size: 6.85 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit
U
e5dW @ sn d Z ddlZddlZddlZddlmZ ddlmZ dZG dd de Z
G d d
d
ejZG dd de Z
dS )
z
Running tests N )result)registerResultTc @ s* e Zd ZdZdd Zdd Zd ddZdS )
_WritelnDecoratorz@Used to decorate file-like objects with a handy 'writeln' methodc C s
|| _ d S N)stream)selfr r '/usr/lib64/python3.8/unittest/runner.py__init__ s z_WritelnDecorator.__init__c C s |dkrt |t| j|S )N)r __getstate__)AttributeErrorgetattrr )r attrr r r
__getattr__ s z_WritelnDecorator.__getattr__Nc C s |r| | | d d S N
)write)r argr r r
writeln s
z_WritelnDecorator.writeln)N)__name__
__module____qualname____doc__r r r r r r r
r
s r c s e Zd ZdZdZdZ fddZdd Z fdd Z fd
dZ fdd
Z
fddZ fddZ fddZ
fddZdd Zdd Z ZS )TextTestResultzhA test result class that can print formatted text results to a stream.
Used by TextTestRunner.
zF======================================================================zF----------------------------------------------------------------------c s8 t t| ||| || _|dk| _|dk| _|| _d S )Nr )superr r r showAlldotsdescriptions)r r r verbosity __class__r r
r % s
zTextTestResult.__init__c C s0 | }| jr$|r$dt||fS t|S d S r )ZshortDescriptionr joinstr)r testZdoc_first_liner r r
getDescription, s
zTextTestResult.getDescriptionc sB t t| | | jr>| j| | | jd | j d S )Nz ... )r r startTestr r r r% flushr r$ r r r
r&