ok
Direktori : /proc/thread-self/root/opt/alt/python34/lib64/python3.4/unittest/__pycache__/ |
Current File : //proc/thread-self/root/opt/alt/python34/lib64/python3.4/unittest/__pycache__/suite.cpython-34.pyo |
� j f�( � @ s� d Z d d l Z d d l m Z d d l m Z d Z d d � Z Gd d � d e � Z Gd d � d e � Z Gd d � d e � Z d d � Z Gd d � d e � Z d S)� TestSuite� N� )�case)�utilTc C s# t | | d d � � } | � d S)Nc S s d S)N� r r r �3/opt/alt/python34/lib64/python3.4/unittest/suite.py�<lambda> s z!_call_if_exists.<locals>.<lambda>)�getattr)�parent�attr�funcr r r �_call_if_exists s r c @ s� e Z d Z d Z d Z f d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d S)� BaseTestSuitezNA simple test suite that doesn't provide class or module shared fixtures. Tc C s# g | _ d | _ | j | � d S)Nr )�_tests�_removed_tests�addTests)�self�testsr r r �__init__ s zBaseTestSuite.__init__c C s d t j | j � t | � f S)Nz <%s tests=%s>)r �strclass� __class__�list)r r r r �__repr__ s zBaseTestSuite.__repr__c C s, t | | j � s t St | � t | � k S)N)� isinstancer �NotImplementedr )r �otherr r r �__eq__ s zBaseTestSuite.__eq__c C s t | j � S)N)�iterr )r r r r �__iter__"