관리-도구
편집 파일: suite.cpython-310.opt-2.pyc
o 6��f�4 � @ sz d dl Z ddlmZ ddlmZ dZdd� ZG dd � d e�ZG d d� de�ZG dd � d e�Z dd� Z G dd� de�ZdS )� N� )�case)�utilTc C s t | |dd� �}|� d S )Nc S � d S �N� r r r �5/opt/alt/python310/lib64/python3.10/unittest/suite.py�<lambda> s z!_call_if_exists.<locals>.<lambda>)�getattr)�parent�attr�funcr r r �_call_if_exists s r c @ sl e Zd Z dZddd�Zdd� Zdd� Zd d � Zdd� Zd d� Z dd� Z dd� Zdd� Zdd� Z dd� ZdS )� BaseTestSuiteTr c C s g | _ d| _| �|� d S �Nr )�_tests�_removed_tests�addTests)�self�testsr r r �__init__ s zBaseTestSuite.__init__c C s dt �| 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 r )� isinstancer �NotImplementedr )r �otherr r r �__eq__ s zBaseTestSuite.__eq__c C s t | j�S r )�iterr r r r r �__iter__"