Current File : //opt/imh-python/lib/python2.7/test/test_binhex.pyo
�
��Wc@svdZddlZddlZddlZddlmZdejfd��YZd�Ze	dkrre�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.
i����N(ttest_supporttBinHexTestCasecBs)eZd�Zd�ZdZd�ZRS(cCs$tjd|_tjd|_dS(Nt1t2(RtTESTFNtfname1tfname2(tself((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_binhex.pytsetUpscCsTytj|j�Wntk
r'nXytj|j�Wntk
rOnXdS(N(tostunlinkRtOSErrorR(R((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_binhex.pyttearDowns

sJack is my herocCs�t|jd�}|j|j�|j�tj|j|j�tj|j|j�t|jd�}|j�}|j�|j	|j|�dS(Ntwtr(
topenRtwritetDATAtclosetbinhexRthexbintreadlinetassertEqual(Rtftfinish((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_binhex.pyttest_binhexs

(t__name__t
__module__RRRR(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_binhex.pyRs		cCstjt�dS(N(Rtrun_unittestR(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_binhex.pyt	test_main+st__main__(
t__doc__RR	tunittestttestRtTestCaseRRR(((si/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_binhex.pyt<module>s