ó Afc@sSddlZddlZdad„Zd„Zd„ZedkrOeƒndS(i˙˙˙˙NicCsŻdG|Gy7tj|ƒ}tj|ƒ}d}tj|ƒ}Wn8tjk ry}HdG|dGHtjƒtdan2X|tj|ƒkrŚHdG|GHtdandGHdS(Ns----s,parser module raised exception on input filet:is"parser module failed on input fileso.k.( tparsertsuitetst2tupletNonettuple2stt ParserErrort tracebackt print_exct _numFailed(tttfileNametstttuptnewterr((s//usr/lib64/python2.7/Demo/parser/test_parser.pyt testChunk s     cCs#t|ƒjƒ}t||ƒdS(N(topentreadR(R R ((s//usr/lib64/python2.7/Demo/parser/test_parser.pyttestFile!scCskddl}|jd}|sGddl}|jdƒ}|jƒntt|ƒ|jtdkƒdS(Ni˙˙˙˙is*.pyi(tsystargvtglobtsorttmapRtexitR (RtargsR((s//usr/lib64/python2.7/Demo/parser/test_parser.pyttest%s     t__main__(RRR RRRt__name__(((s//usr/lib64/python2.7/Demo/parser/test_parser.pyts