Current File : //usr/lib/python2.7/site-packages/nose/failure.pyo
�
d�Uc@smddlZddlZddlmZddlmZeje�ZdgZ	dej
fd��YZdS(i����N(t	format_tb(tis_base_exceptiontFailurecBs>eZdZeZddd�Zd�Zd�Zd�Z	RS(s�Unloadable or unexecutable test.

    A Failure case is placed in a test suite to indicate the presence of a
    test that could not be loaded or executed. A common example is a test
    module that fails to import.
    
    cCsTtjd||t|��||_||_||_||_tjj	|�dS(NsA failure! %s %s %s(
tlogtdebugRt	exc_classtexc_valttbt_addresstunittesttTestCaset__init__(tselfRRRtaddress((s0/usr/lib/python2.7/site-packages/nose/failure.pyRs				cCs#dt|jd|j�|jfS(NsFailure: %s (%s)t__name__(tgetattrRR(R((s0/usr/lib/python2.7/site-packages/nose/failure.pyt__str__scCs|jS(N(R(R((s0/usr/lib/python2.7/site-packages/nose/failure.pyR
!scCsa|jdk	rKt|j�r3|jd|j�n|j|j|j�n|j|j��dS(N(RtNoneRRR(R((s0/usr/lib/python2.7/site-packages/nose/failure.pytrunTest$s
N(
Rt
__module__t__doc__tFalset__test__RRRR
R(((s0/usr/lib/python2.7/site-packages/nose/failure.pyRs		(tloggingR	t	tracebackRtnose.pyversionRt	getLoggerRRt__all__R
R(((s0/usr/lib/python2.7/site-packages/nose/failure.pyt<module>s