Ć
PNö9c       sT     d  Z    d k Z  d k Z 	 d k l Z l Z  d   Z . e   d S(   si   Test script for the binhex C module

   Uses the mechanism of the python binhex module
   Roger E. Masse
N(   s   verboses   TestSkippedc     se    y4  t  i   }   t  i   }  t |  d  } Wn   t d  n X d }  | i |   | i	    t
 i
 |  |   t o  d GHn  t
 i | |    t o  d GHn   t |  d  } ! | i   } # | | j o $ d GHn % t o & d GHn ( y0 ) d  k } * | i |   + | i |  Wn , - n Xd  S(	   Ns   ws&   Cannot test binhex without a temp files   Jack is my heros   binhexs   hexbins   rs   Error: binhex <> hexbins   binhex == hexbin(   s   tempfiles   mktemps   fname1s   fname2s   opens   fs   TestSkippeds   starts   writes   closes   binhexs   verboses   hexbins   readlines   finishs   oss   unlink(   s   fname1s   fname2s   fs   starts   finishs   oss-   /mit/python/lib/python2.0/test/test_binhex.pys   test s6   	


(   s   __doc__s   binhexs   tempfiles   test_supports   verboses   TestSkippeds   test(    s-   /mit/python/lib/python2.0/test/test_binhex.pys   ? s
   #