Plan 9 from Bell Labs’s /usr/web/sources/contrib/jas/root/sys/lib/python2.7/site-packages/nose/failure.pyc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


�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
RRR(((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
	

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].