mò %U²Ic@s‰dkZdkZdkZdkZdkZdkZdklZddZdei fd„ƒYZ ei i ei i ei ifZdfd„ƒYZd\ZZd\ZZgZeedƒedd ƒƒD]\ZZeeefqÕ[Zed ed d !eoneeZZy eGHWn d Zn Xed 7Zzee7ZWdd ZXdkTd„Zedjo eƒndS(N(srandomii<t CompilerTestcBs,tZd„Zd„Zd„Zd„ZRS(Nc Cs}tiƒt}tiitiƒ}tiit i iƒ}x9||gD]+}x"ti |ƒD]}|tiƒjo.tiƒt}tidIJtiiƒn|idƒpq`nt otƒdjoq`ntii||ƒ}t i io dG|GHnt|dƒ}|iƒ}|iƒd|jo |itti ||dƒq`ti ||dƒq`WqJWdS(Ns1 testCompileLibrary still working, be patient...s.pyf0.97999999999999998t compilingtUt badsyntaxtexec(!ttimet_PRINT_WORKING_MSG_INTERVALt next_timetostpathtdirnametunittestt__file__tlibdirttestt test_supportttestdirtdirtlistdirtbasenametsyst __stdout__tflushtendswithtTEST_ALLtrandomtjointverbosetopentftreadtbuftclosetselft assertRaisest SyntaxErrortcompilertcompile( R!RRRRR RR R((t//data/zmath/lib/python2.4/test/test_compiler.pyttestCompileLibrary s2       cCsTt}|idƒp|idƒo|d }nti|ƒ}|i|ƒdS(Ns.pycs.pyoiÿÿÿÿ(R tfilenameRR$t parseFilettreeR!t check_lineno(R!R*R(((R&t testLineNo.s  cCs=y|i|ƒWn%tj o|iG|iGH‚nXdS(N(R!t _check_linenotnodetAssertionErrort __class__tlineno(R!R.((R&R+6s cCs‘|itjoY|it|itƒd|i|ifƒ|i|idjd|i|ifƒnx!|iƒD]}|i |ƒqvWdS(Nslineno=%s on %si( R.R0tNOLINENOR!tassert_t isinstanceR1tintt getChildNodestchildR+(R!R.R7((R&R-=s (t__name__t __module__R'R,R+R-(((R&R s #  tTotocBstZdZRS(t docstring(R8R9t__doc__(((R&R:Ms iiii ii(t*cCs&tiidƒatiitƒdS(NR$(RRtis_resource_enabledRt run_unittestR(((R&t test_mainkst__main__(ii(ii(R$RRRR ttest.test_supportRRRtTestCaseRtasttModuletStmttDiscardR2R:tatbtctdt_[1]tziptrangetxtytltyotmathR@R8(R RR:R2R@RRRRRRR$RHRJRIRKRQRLRRPROR((R&t?s8 $   =!  E