HEX
Server: Apache
System: FreeBSD www860.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
User: yoyo0427 (1306)
PHP: 8.3.8
Disabled: NONE
Upload Files
File: //usr/local/lib/python2.7/test/test_binhex.pyo
�
N��ac@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((s,/usr/local/lib/python2.7/test/test_binhex.pytsetUpscCsTytj|j�Wntk
r'nXytj|j�Wntk
rOnXdS(N(tostunlinkRtOSErrorR(R((s,/usr/local/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((s,/usr/local/lib/python2.7/test/test_binhex.pyttest_binhexs

(t__name__t
__module__RRRR(((s,/usr/local/lib/python2.7/test/test_binhex.pyRs		cCstjt�dS(N(Rtrun_unittestR(((s,/usr/local/lib/python2.7/test/test_binhex.pyt	test_main+st__main__(
t__doc__RR	tunittestttestRtTestCaseRRR(((s,/usr/local/lib/python2.7/test/test_binhex.pyt<module>s