�9�c@s]ddlZddlZddlmZeje�ZdgZdejfd��YZ dS(i�N(t format_tbtFailurecBs>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/sys/lib/python2.7/site-packages/nose/failure.pyR
s cCs#dt|jd|j�|jfS(NsFailure: %s (%s)t__name__(tgetattrRR(R((s0/sys/lib/python2.7/site-packages/nose/failure.pyt__str__scCs|jS(N(R(R((s0/sys/lib/python2.7/site-packages/nose/failure.pyR scCsd|jdk rNt|jt�r6|jd|j�n|j|j|j�n|j|j��dS(N(RtNonet
isinstanceRt
BaseExceptionR(R((s0/sys/lib/python2.7/site-packages/nose/failure.pytrunTest#s
N(
R
t
__module__t__doc__tFalset__test__RR
RRR(((s0/sys/lib/python2.7/site-packages/nose/failure.pyRs (
tloggingRt tracebackRt getLoggerR
Rt__all__R R(((s0/sys/lib/python2.7/site-packages/nose/failure.pyt<module>s
|