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_mimetools.pyc
�
N��ac@s�ddlZddlmZddlZddlZejdde�Zejejd��Z	dej
fd��YZd�Ze
d	kr�e�ndS(
i����N(ttest_supportt	mimetoolst
deprecatedsbContent-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Foo!
t
MimeToolsTestcBs#eZd�Zd�Zd�ZRS(cCs�tjdtjd}x�ddddddd	d
gD]~}tj|�}tj�}tj|||�tj|j��}tj�}tj|||�|j|j�|�q7WdS(Nt=s
t7bitt8bittbase64squoted-printabletuuencodes
x-uuencodetuuesx-uue(	tstringt
ascii_letterstdigitstStringIORtencodetgetvaluetdecodetassertEqual(tselftstarttenctito((s//usr/local/lib/python2.7/test/test_mimetools.pyttest_decodeencodescCsStdg�}x=td�D]/}tj�}|j||�|j|�qWdS(Ntid(tsettxrangeRtchoose_boundarytassertNotIntadd(RtsRtnb((s//usr/local/lib/python2.7/test/test_mimetools.pyt
test_boundarys
cCs�tjtjt��}|j|j�d�|j|j�d�|j|j�d�|j|j�ddg�|j|j	�ddg�|j|j
d�d�|j|j
d�d	�|j|j
d
�d�|j|j�d�dS(Ns
text/plainttexttplainscharset=iso-8859-1s
format=flowedtcharsettformats
iso-8859-1tflowedtspamR(
RtMessageR
tmsgtext1Rtgettypetgetmaintypet
getsubtypetgetplistt
getparamnamestgetparamtNonetgetencoding(Rtmsg((s//usr/local/lib/python2.7/test/test_mimetools.pyttest_message%s(t__name__t
__module__RR R2(((s//usr/local/lib/python2.7/test/test_mimetools.pyRs		cCstjt�dS(N(Rtrun_unittestR(((s//usr/local/lib/python2.7/test/test_mimetools.pyt	test_main1st__main__(tunittestttestRR
R
t
import_moduletTrueRR'R(tTestCaseRR6R3(((s//usr/local/lib/python2.7/test/test_mimetools.pyt<module>s!