tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Q\¬Qc@sddlZddlmZddlZddlZejddeƒZejejdƒƒZ    dej
fd„ƒYZ d„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_letterstdigitstStringIORtencodetgetvaluetdecodet assertEqual(tselftstarttenctito((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_mimetools.pyttest_decodeencodes  cCsStdgƒ}x=tdƒD]/}tjƒ}|j||ƒ|j|ƒqWdS(Ntid(tsettxrangeRtchoose_boundaryt assertNotIntadd(RtsRtnb((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/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 tmsgtext1Rtgettypet getmaintypet
getsubtypetgetplistt getparamnamestgetparamtNonet getencoding(Rtmsg((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_mimetools.pyt test_message%s(t__name__t
__module__RR R2(((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_mimetools.pyRs        cCstjtƒdS(N(Rt run_unittestR(((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_mimetools.pyt    test_main1st__main__(tunittestttestRR
R t import_moduletTrueRR'R(tTestCaseRR6R3(((s[/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_mimetools.pyt<module>s     !