관리-도구
편집 파일: loader.cpython-37.pyc
B � f�X � @ s d Z ddlZddlZddlZddlZddlZddlZddlZddlmZm Z ddl mZmZm Z dZe�dej�ZG dd � d ej�Zd d� Zdd � Zdd� Zdd� Zdd� ZG dd� de�Ze� Zddd�Ze jdfdd�Zde jejfdd�Z de jejfdd�Z!dS ) zLoading unittests.� N)�fnmatch�fnmatchcase� )�case�suite�utilTz[_a-z]\w*\.py$c s, e Zd ZdZ� fdd�Z� fdd�Z� ZS )�_FailedTestNc s || _ tt| ��|� d S )N)� _exception�superr �__init__)�selfZmethod_name� exception)� __class__� �4/opt/alt/python37/lib64/python3.7/unittest/loader.pyr s z_FailedTest.__init__c s* |� j krtt� ��|�S � fdd�}|S )Nc s � j �d S )N)r r )r r r �testFailure! s z,_FailedTest.__getattr__.<locals>.testFailure)�_testMethodNamer r �__getattr__)r �namer )r )r r r s z_FailedTest.__getattr__)�__name__� __module__�__qualname__r r r � __classcell__r r )r r r s r c C s"