Your IP : 216.73.216.213
�^�]}3 � @ s� d Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l
m Z m Z m
Z
e j e � Z d g Z Gd d � d e j � Z Gd d
� d
e j � Z Gd d � d e � Z Gd
d � d e � Z d S)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 Z d Z d Z d Z d d 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 e e d d d � Z d d � Z d d � Z d d � Z d S)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 | � s t d | � � | | _ | d k r: t � } | | _ d | _ d | _ | | _ | j | _ d | _ t
j 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/python35/lib/python3.5/site-packages/nose/case.pyr s
z
Test.__init__c O s | j | | � S)N)�run)r �arg�kwargr r r �__call__, s z
Test.__call__c C s/ | j j | � } | d k r"