Ņō
ā"Ic           @   sl   d  Z  d d k Z d d k Z d d k l Z d e i f d     YZ d   Z e d j o e   n d S(   sÄ   
Test the internal getargs.c implementation

 PyArg_ParseTuple() is defined here.

The test here is not intended to test all of the module, just the
single case that failed between 2.1 and 2.2a2.
i˙˙˙˙N(   t   test_supportt   GetArgsTestc           B   s   e  Z d    Z RS(   c         C   s8   t  i p d  St d d  } |  i t t i |  d  S(   Ns   \222s   unicode-escape(   R    t   have_unicodet   unicodet   assertRaisest   UnicodeErrort   marshalt   loads(   t   selft   arg(    (    s.   /mit/python/lib/python2.6/test/test_getargs.pyt   test_with_marshal   s    
(   t   __name__t
   __module__R
   (    (    (    s.   /mit/python/lib/python2.6/test/test_getargs.pyR      s   c           C   s   t  i t  d  S(   N(   R    t   run_unittestR   (    (    (    s.   /mit/python/lib/python2.6/test/test_getargs.pyt	   test_main   s    t   __main__(	   t   __doc__R   t   unittestt   testR    t   TestCaseR   R   R   (    (    (    s.   /mit/python/lib/python2.6/test/test_getargs.pyt   <module>   s   	