-í
è¶<c       sq   d  Z  d k Z d k Z d k Z d k Z d k Z d e i f d „  ƒ  YZ d „  Z e	 d j o e ƒ  n d S(   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.
Ns   BinHexTestCasec      s)   t  Z d „  Z d „  Z d Z d „  Z RS(   Nc    s"   t  i ƒ  |  _ t  i ƒ  |  _ d  S(   N(   s   tempfiles   mktemps   selfs   fname1s   fname2(   s   self(    (    s&   /usr/lib/python2.2/test/test_binhex.pys   setUp s    c    sX   y t  i |  i ƒ Wn t j
 o n Xy t  i |  i ƒ Wn t j
 o n Xd  S(   N(   s   oss   unlinks   selfs   fname1s   OSErrors   fname2(   s   self(    (    s&   /usr/lib/python2.2/test/test_binhex.pys   tearDown s        s   Jack is my heroc    s—   t  |  i d ƒ } | i |  i ƒ | i ƒ  t i |  i |  i ƒ t i	 |  i |  i ƒ t  |  i d ƒ } | i
 ƒ  } | i ƒ  |  i |  i | ƒ d  S(   Ns   ws   r(   s   opens   selfs   fname1s   fs   writes   DATAs   closes   binhexs   fname2s   hexbins   readlines   finishs   assertEqual(   s   selfs   finishs   f(    (    s&   /usr/lib/python2.2/test/test_binhex.pys   test_binhex s    

(   s   __name__s
   __module__s   setUps   tearDowns   DATAs   test_binhex(    (    (    s&   /usr/lib/python2.2/test/test_binhex.pys   BinHexTestCase s   		c      s   t  i t ƒ d  S(   N(   s   test_supports   run_unittests   BinHexTestCase(    (    (    s&   /usr/lib/python2.2/test/test_binhex.pys	   test_main- s    s   __main__(
   s   __doc__s   binhexs   oss   tempfiles   test_supports   unittests   TestCases   BinHexTestCases	   test_mains   __name__(   s   test_supports   BinHexTestCases	   test_mains   tempfiles   binhexs   unittests   os(    (    s&   /usr/lib/python2.2/test/test_binhex.pys   ? s   						