ó K9•Qc@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 RR R(((s0/sys/lib/python2.7/site-packages/nose/failure.pyR s   ( tloggingRt tracebackRt getLoggerR Rt__all__R R(((s0/sys/lib/python2.7/site-packages/nose/failure.pyts