File: //opt/alt/python37/lib/python3.7/site-packages/nose/__pycache__/case.cpython-37.pyc
B
9�`}3 � @ s� d Z ddlZddlZddlZddlmZ ddlmZ ddlm Z ddl
mZmZm
Z
e�e�ZdgZG dd� dej�ZG d d
� d
ej�ZG dd� de�ZG d
d� de�ZdS )z�nose unittest.TestCase subclasses. It is not necessary to subclass these
classes when writing tests; they are used internally by nose.loader.TestLoader
to create test cases from test functions and methods in test classes.
� N)�
isfunction)�Config)�Failure)�resolve_name�test_address�try_run�Testc @ s� e Zd ZdZdZddd�Zdd� Zdd � Zd
d� Zdd
� Z dd� Z
dd� Zdd� Zdd� Z
dd� Zeeddd�Zdd� Zdd� Zdd� ZdS ) r z�The universal test case wrapper.
When a plugin sees a test, it will always see an instance of this
class. To access the actual test case that will be run, access the
test property of the nose.case.Test instance.
FNc C s^ t |�std| ��|| _|d kr(t� }|| _d | _d | _|| _|j| _d | _ t
j�| � d S )NzTnose.case.Test called with argument %r that is not callable. A callable is required.)
�callable� TypeError�testr �configZtbinfoZcapturedOutput�resultProxy�pluginsZpassed�unittest�TestCase�__init__)�selfr r r
� r �:/opt/alt/python37/lib/python3.7/site-packages/nose/case.pyr s z
Test.__init__c O s | j ||�S )N)�run)r �argZkwargr r r �__call__, s z
Test.__call__c C s"