Server : Apache System : Linux cs317.bluehost.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : andertr9 ( 1047) PHP Version : 8.2.18 Disable Function : NONE Directory : /lib64/python3.6/unittest/__pycache__/ |
Upload File : |
3 \�( � @ s| d Z ddlZddlmZ ddlmZ dZdd� ZG d d � d e�ZG dd � d e�Z G dd � d e�Z dd� ZG dd� de�ZdS )� TestSuite� N� )�case)�utilTc C s t | |dd� �}|� d S )Nc S s d S )N� r r r �/usr/lib64/python3.6/suite.py�<lambda> s z!_call_if_exists.<locals>.<lambda>)�getattr)�parent�attr�funcr r r �_call_if_exists s r c @ sp e Zd ZdZdZf fdd�Zdd� Zdd� Zd d � Zdd� Z d d� Z dd� Zdd� Zdd� Z dd� Zdd� ZdS )� 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 dt 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�stS t| �t|�kS )N)� isinstancer �NotImplementedr )r �otherr r r �__eq__ s zBaseTestSuite.__eq__c C s t | j�S )N)�iterr )r r r r �__iter__"