
"Ic           @   sq   d  d k  l Z d  d k Z e i d d e Z d  d k Z d Z d   Z d   Z	 e
 d j o e	   n d S(	   i(   t   test_supportNt	   multifilet
   deprecatedsL  Mime-Version: 1.0
Content-Type: multipart/mixed;
        boundary="=====================_590453667==_"
X-OriginalArrivalTime: 05 Feb 2002 03:43:23.0310 (UTC) FILETIME=[42D88CE0:01C1ADF7]

--=====================_590453667==_
Content-Type: multipart/alternative;
        boundary="=====================_590453677==_.ALT"

--=====================_590453677==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed

test A
--=====================_590453677==_.ALT
Content-Type: text/html; charset="us-ascii"

<html>
<b>test B</font></b></html>

--=====================_590453677==_.ALT--

--=====================_590453667==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="att.txt"

Attached Content.
Attached Content.
Attached Content.
Attached Content.

--=====================_590453667==_--

c         C   s   t  i |   } | i   d j oS | i d  } t d 7a |  i |  x |  i   o t |   qK W|  i   n |  i	   } t
 t |  7a
 d  S(   Nt	   multipartt   boundaryi   (   t	   mimetoolst   Messaget   getmaintypet   getparamt
   boundariest   pusht   nextt
   getMIMEMsgt   popt	   readlinest	   linecountt   len(   t   mft   msgR   t   lines(    (    s0   /mit/python/lib/python2.6/test/test_multifile.pyR   (   s    
 c          C   sZ   d a  d a t i t  }  t t i |    t  d j p t  t d j p t  d  S(   Ni    i   i	   (	   R	   R   t	   cStringIOt   StringIOR   R   R   t	   MultiFilet   AssertionError(   t   f(    (    s0   /mit/python/lib/python2.6/test/test_multifile.pyt	   test_main9   s    t   __main__(   t   testR    R   t   import_modulet   TrueR   R   R   R   R   t   __name__(    (    (    s0   /mit/python/lib/python2.6/test/test_multifile.pyt   <module>   s   "			