Ńň <^žFc@sLdZddkZddklZddklZdefd„ƒYZdS(sR This plugin provides assert introspection. When the plugin is enabled and a test failure occurs, the traceback of the failure exception is examined and displayed with extra context around the line where the exception was raised. Simple variable substitution is also performed in the context output to provide more debugging information. i˙˙˙˙N(tPlugin(tinspect_tracebackt FailureDetailcBs5eZdZdZeid„Zd„Zd„ZRS(sÜ Plugin that provides assert introspection. When a test failure occurs, the traceback of the failure exception is examined and displayed with extra context around the line where the exception was raised. iXc Cs8|idddddd|idƒdd d d ƒdS( Ns-ds--detailed-errorss--failure-detailtactiont store_truetdefaulttNOSE_DETAILED_ERRORStdesttdetailedErrorsthelpsZAdd detail to error output by attempting to evaluate failed asserts [NOSE_DETAILED_ERRORS](t add_optiontget(tselftparsertenv((s>/usr/lib/python2.6/site-packages/nose/plugins/failuredetail.pytoptionss  cCs(|ipdS|i|_||_dS(N(t can_configureRtenabledtconf(R RR((s>/usr/lib/python2.6/site-packages/nose/plugins/failuredetail.pyt configures  cCsF|\}}}t|ƒ}||_|dit|ƒ|gƒ|fS(sLAdd detail from traceback inspection to error message of a failure. s (Rttbinfotjointstr(R ttestterrtectevttbR((s>/usr/lib/python2.6/site-packages/nose/plugins/failuredetail.pyt formatFailure$s  ( t__name__t __module__t__doc__tscoretostenvironRRR(((s>/usr/lib/python2.6/site-packages/nose/plugins/failuredetail.pyR s  (RR!t nose.pluginsRtnose.inspectorRR(((s>/usr/lib/python2.6/site-packages/nose/plugins/failuredetail.pyts