mς %U²Ic@sldZdkZdkZdkZdklZdeifd„ƒYZd„Ze djo eƒndS(s‡Test script for the binhex C module Uses the mechanism of the python binhex module Based on an original test by Roger E. Masse. N(s test_supporttBinHexTestCasecBs)tZd„Zd„ZdZd„ZRS(NcCs$tid|_tid|_dS(Nt1t2(t test_supporttTESTFNtselftfname1tfname2(R((t-/data/zmath/lib/python2.4/test/test_binhex.pytsetUpscCsXyti|iƒWntj onXyti|iƒWntj onXdS(N(tostunlinkRRtOSErrorR(R((RttearDownssJack is my herocCs—t|idƒ}|i|iƒ|iƒti|i|iƒti |i|iƒt|idƒ}|i ƒ}|iƒ|i |i|ƒdS(Ntwtr( topenRRtftwritetDATAtclosetbinhexRthexbintreadlinetfinisht assertEqual(RRR((Rt test_binhexs   (t__name__t __module__R R RR(((RR s  cCstitƒdS(N(Rt run_unittestR(((Rt test_main,st__main__( t__doc__RR tunittestttestRtTestCaseRRR(RR!RRRR ((Rt?s