ÿØÿàJFIFÿþ ÿÛC       ÿÛC ÿÀÿÄÿÄ"#QrÿÄÿÄ&1!A"2qQaáÿÚ ?Øy,æ/3JæÝ¹È߲؋5êXw²±ÉyˆR”¾I0ó2—PI¾IÌÚiMö¯–þrìN&"KgX:Šíµ•nTJnLK„…@!‰-ý ùúmë;ºgµŒ&ó±hw’¯Õ@”Ü— 9ñ-ë.²1<yà‚¹ïQÐU„ہ?.’¦èûbß±©Ö«Âw*VŒ) `$‰bØÔŸ’ëXÖ-ËTÜíGÚ3ð«g Ÿ§¯—Jx„–’U/ÂÅv_s(Hÿ@TñJÑãõçn­‚!ÈgfbÓc­:él[ðQe 9ÀPLbÃãCµm[5¿ç'ªjglå‡Ûí_§Úõl-;"PkÞÞÁQâ¼_Ñ^¢SŸx?"¸¦ùY騐ÒOÈ q’`~~ÚtËU¹CڒêV  I1Áß_ÿÙ k6Sc@sdZddlZddlZddlZddlmZddlmZmZddl m Z ddl m Z ej e ZdefdYZdS( s_ This plugin captures stdout during test execution. If the test fails or raises an error, the captured output will be appended to the error or failure output. It is enabled by default but can be disabled with the options ``-s`` or ``--nocapture``. :Options: ``--nocapture`` Don't capture stdout (any stdout output will be printed immediately) iN(tPlugin(texc_to_unicodet force_unicode(tln(tStringIOtCapturecBseZdZeZdZdZdZdZdZ dZ dZ dZ d Z d Zd Zd Zd ZdZdZdZeedddZRS(s Output capture plugin. Enabled by default. Disable with ``-s`` or ``--nocapture``. This plugin captures stdout during test execution, appending any output captured to the error or failure output, should the test fail or raise an error. tNOSE_NOCAPTUREtcapturei@cCsg|_d|_dS(N(tstdouttNonet_buf(tself((sE/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/capture.pyt__init__#s c Cs9|jddddd|j|j dddd d S( s%Register commandline options s-ss --nocapturetactiont store_falsetdefaulttdestRthelpsUDon't capture stdout (any stdout output will be printed immediately) [NOSE_NOCAPTURE]N(t add_optiontgettenv_opt(R tparsertenv((sE/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/capture.pytoptions'scCs"||_|jst|_ndS(s8Configure plugin. Plugin is enabled by default. N(tconfRtFalsetenabled(R RR((sE/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/capture.pyt configure0s  cCs|jd|_dS(sClear capture buffer. N(tendR R (R ttest((sE/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/capture.pyt afterTest7s cCs|jdS(s0Replace sys.stdout with capture buffer. N(tstart(R ((sE/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/capture.pytbegin=scCs|jdS(sFlush capture buffer. N(R(R R((sE/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/capture.pyt beforeTestBscCsK|j|_}d|_|s#|S|\}}}||j|||fS(s-Add captured output to error report. N(tbuffertcapturedOutputR R taddCaptureToErr(R Rterrtoutputtectevttb((sE/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/capture.pyt formatErrorGs  cCs|j||S(s/Add captured output to failure report. (R*(R RR%((sE/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/capture.pyt formatFailureTscCs=t|}t|}dj|td|tdgS(Nu u>> begin captured stdout <> end captured stdout <<(RRtjoinR(R R(R&((sE/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/capture.pyR$Ys  cCs/|jjtjt|_|jt_dS(N(RtappendtsysRR (R ((sE/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/capture.pyR_s cCs"|jr|jjt_ndS(N(RtpopR.(R ((sE/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/capture.pyRds cCsx|jr|jqWdS(sRestore stdout. N(RR(R tresult((sE/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/capture.pytfinalizehs cCs |jdk r|jjSdS(N(R R tgetvalue(R ((sE/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/capture.pyt _get_buffernssCaptured stdout output.N(t__name__t __module__t__doc__tTrueRRtnametscoreR RRRR R!R*R+R$RRR1R3tpropertyR R"(((sE/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/capture.pyRs(            (R6tloggingtosR.tnose.plugins.baseRtnose.pyversionRRt nose.utilRRt getLoggerR4tlogR(((sE/opt/alt/python27/lib/python2.7/site-packages/nose/plugins/capture.pyt s