ó
­«Y]c           @   s   d  d l  Z  d  d l m Z e j d d e d  d l m Z m Z d  d l m Z d e  j	 f d     YZ
 d	   Z e d
 k r e   n  d S(   iÿÿÿÿN(   t   test_supportt   compilert
   deprecated(   t   transformert   ast(   t   compilet   Testsc           B   s   e  Z d    Z RS(   c         B   sØ   d d d g } xÂ | D]º } e  j |  } |  j | e j  | j   d } |  j | e j  | j   d } |  j | e j  e | d d  } i  } | | U| d d k sº t	  | d	 d
 k s t	  q Wd S(   s.    Test multiple targets on the left hand side. s   a, b = 1, 2s   (a, b) = 1, 2s   ((a, b), c) = (1, 2), 3i    s   <string>t   singlet   ai   t   bi   N(
   R   t   parset   assertIsInstanceR   t   Modulet   getChildNodest   Stmtt   AssignR   t   AssertionError(   t   selft   snippetst   sR   t   child1t   child2t   ct   vals(    (    s&   lib/python2.7/test/test_transformer.pyt   testMultipleLHS   s    	(   t   __name__t
   __module__R   (    (    (    s&   lib/python2.7/test/test_transformer.pyR   	   s   c           C   s   t  j t  d  S(   N(   R    t   run_unittestR   (    (    (    s&   lib/python2.7/test/test_transformer.pyt	   test_main"   s    t   __main__(   t   unittestt   testR    t   import_modulet   TrueR   R   R   R   t   TestCaseR   R   R   (    (    (    s&   lib/python2.7/test/test_transformer.pyt   <module>   s   	