Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
test
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/test/test_mimetools.pyc
mò ‚=5Dc @ s d k Z d k l Z d k Z d k Z d k Z d k Z e i e i d ƒ ƒ Z d e i f d „ ƒ YZ d „ Z e d j o e ƒ n d S( N( s test_supportsb Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit Foo! t MimeToolsTestc B s# t Z d „ Z d „ Z d „ Z RS( Nc C s½ t i d t i d } xž d d d d d d d d g D]~ } t i | ƒ } t i ƒ } t i | | | ƒ t i | i ƒ ƒ } t i ƒ } t i | | | ƒ | i | i ƒ | ƒ q7 Wd S( Nt =s t 7bitt 8bitt base64s quoted-printablet uuencodes x-uuencodet uues x-uue( t stringt ascii_letterst digitst startt enct StringIOt it ot mimetoolst encodet getvaluet decodet selft assertEqual( R R R R R ( ( t) /usr/lib/python2.4/test/test_mimetools.pyt test_decodeencode s c C sY t i d g ƒ } x@ t d ƒ D]2 } t i ƒ } | i | | j ƒ | i | ƒ q Wd S( Nt id ( t setst Sett st xrangeR R t choose_boundaryt nbR t assert_t add( R R R R ( ( R t test_boundary s c C s÷ t i t i t ƒ ƒ } | i | i ƒ d ƒ | i | i ƒ d ƒ | i | i ƒ d ƒ | i | i ƒ d d g ƒ | i | i ƒ d d g ƒ | i | i d ƒ d ƒ | i | i d ƒ d ƒ | i | i d ƒ d ƒ | i | i ƒ d ƒ d S( Ns text/plaint textt plains charset=iso-8859-1s format=flowedt charsett formats iso-8859-1t flowedt spamR ( R t MessageR t msgtext1t msgR R t gettypet getmaintypet getsubtypet getplistt getparamnamest getparamt Nonet getencoding( R R) ( ( R t test_message"