ó
‹wÛjc           @   sŸ   d  d l  m Z m Z m Z d  d l Z d  d l Z d  d l Z d  d l Td e j f d „  ƒ  YZ d e j f d „  ƒ  YZ	 d „  Z
 e d	 k r› e
 ƒ  n  d S(
   iÿÿÿÿ(   t   run_unittestt   check_syntax_errort   check_py3k_warningsN(   t   *t
   TokenTestsc           B   s>   e  Z d  „  Z d „  Z d „  Z d „  Z d „  Z d „  Z RS(   c         C   s6   d } |  j  | d d ƒ d } |  j  | d d ƒ d  S(   Ni   i   s   backslash for line continuationi    s   backslash ending commenti   (   t   assertEqual(   t   selft   x(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_backslash   s
     c         C   s&  |  j  t d ƒ t d ƒ ƒ |  j  d d ƒ |  j  d d ƒ |  j  d d ƒ |  j  d d ƒ |  j  d d ƒ |  j  d d ƒ |  j t t d ƒ d d l m } | d k rP|  j  d d
 ƒ |  j d d k ƒ |  j d d k ƒ |  j d d k ƒ |  j d d k ƒ xd D]; } y t | ƒ } Wqt k
 rH|  j	 d | ƒ qXqWnÒ | d k r|  j  d d ƒ |  j  d  d ƒ |  j d d k ƒ |  j d d k ƒ |  j d d k ƒ |  j d d k ƒ xW d! D]; } y t | ƒ } WqÏt k
 r	|  j	 d | ƒ qÏXqÏWn |  j	 d | ƒ d  S("   Ni    iÿ   iÿÿÿi	   t   0xiÿÿÿÿ(   t   maxinti  €i   i   €Iÿÿÿÿ    t
   2147483648t   040000000000t   0o40000000000t   0x100000000t"   0b10000000000000000000000000000000s(   OverflowError on huge integer literal %rIÿÿÿÿÿÿÿI      €I       €l   ÿÿÿÿ Iÿÿÿÿÿÿÿ?t   9223372036854775808t   02000000000000000000000t   0o2000000000000000000000t   0x10000000000000000tA   0b100000000000000000000000000000000000000000000000000000000000000s   Weird maxint value %ri   €(   R   R   R   R   R   I       €I       €(   R   R   R   R   R   (
   R   t   typet   assertRaisest   SyntaxErrort   evalt   sysR
   t
   assertTruet   OverflowErrort   fail(   R   R
   t   sR   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_plain_integers   sL     
  
c         C   s4   d } d } d } d } d } d } d } d } d  S(   Nl    l   ÿÿÿÿ l   ÿÿÿ? l   Ò
~¹Ÿl!]c (    (   R   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_long_integersD   s    c         C   sF   d } d } d } d } d } d } d } d } d } d } d } d  S(   Ng…ëQ¸	@g      s@gj¼t“Ô?g  ì“ñBg´àø¤tã =g  àWëH»Bg     FÞ@(    (   R   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_floatsN   s    c         C   sI   |  j  d n d d ƒ |  j  d r( d n d d ƒ |  j t t d ƒ d  S(   Ni   i    s   0 if 1Else 0(   R   R   R   R   (   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt    test_float_exponent_tokenization\   s    c         C   s{  d } d } |  j  t | ƒ d k o- | | k ƒ d } d } |  j  t | ƒ d k op | | k op t | ƒ d k ƒ d } d } |  j  t | ƒ d k o³ | | k o³ t | ƒ d k ƒ d } d } |  j  t | ƒ d	 k oä | | k ƒ d
 } d
 } |  j  t | ƒ d	 k o| | k ƒ d } d } |  j | | ƒ d } |  j | | ƒ d } |  j | | ƒ d } |  j | | ƒ d  S(   Nt    i    s   'i   i'   t   "i"   s   doesn't "shrink" does iti   s   does "shrink" doesn't its2   
The "quick"
brown fox
jumps over
the 'lazy' dog.
(   R   t   lent   ordR   (   R   R   t   y(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_string_literalsb   s0      %  7  7%%(   t   __name__t
   __module__R   R   R   R    R!   R'   (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR      s   	
	+	
		t   GrammarTestsc           B   s¦  e  Z d  „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z	 d „  Z
 d	 „  Z d
 „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z e j e d ƒ d „  ƒ Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z  d „  Z! d „  Z" d „  Z# d  „  Z$ d! „  Z% d" „  Z& d# „  Z' d$ „  Z( d% „  Z) d& „  Z* d' „  Z+ d( „  Z, d) „  Z- d* „  Z. d+ „  Z/ d, „  Z0 RS(-   c         C   s   t  d ƒ } d  S(   Ns	   1, 0 or 1(   R   (   R   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_eval_input–   s    c         B   s±  d „  } | ƒ  | dD Œ  | dE i  Ž  d „  } d „  } e  d e f ƒ � d d  Ud d  UWd  QX|  j | j j dF ƒ |  j | j j dG ƒ e j j d
 ƒ rÏ |  j e j j dH ƒ |  j e	 j j dI ƒ n, |  j e j j dJ ƒ |  j e	 j j dK ƒ d „  } d „  } d „  } d „  } d „  } e  d e f ƒ � d d  UWd  QX| ƒ  | d ƒ | d ƒ | d d ƒ | d d ƒ e d d dL f ƒ | ƒ  | d ƒ | d ƒ | d d ƒ | d d d d d d d d  d! d" ƒ
 | d ƒ | d ƒ | d d ƒ | d d d ƒ | d d d d d d d d  d! d" ƒ
 | d d ƒ | d d d ƒ | d d d d ƒ | d d d d d d d d  d! d" ƒ
 e
 d dM ƒ e
 d dN d ƒ e
 d dO d d d d d  d! d" ƒ	 e j j d
 ƒ ró|  j e
 j j dP ƒ n |  j e
 j j dQ ƒ |  j e
 d dR d ƒ d d d dS f ƒ d d( „ }	 |	 ƒ  |	 d ƒ |	 dT Œ  |	 g  pgd g Œ  |	 i d d# 6�  |	 i d d# 6p�i  �  d d) „ }
 |
 d ƒ |
 d d ƒ |
 d i d d& 6� d d* „ } | d d ƒ | d d d ƒ | dU Œ  | d dV Œ | d d dW Œ | d d i d d' 6� d d d+ „ } | ƒ  | d ƒ | d d ƒ | dX Œ  | d dY Œ | d i d d& 6� | i d d# 6d d& 6�  d d d, „ } | d ƒ | d d ƒ | d d d ƒ d d d- „ } | d d ƒ | d d d ƒ | d d d d ƒ d d. „ } | ƒ  | d ƒ | d d ƒ | dZ Œ  | d[ Œ  | i d d# 6�  d d/ „ } | d ƒ | d d ƒ | d d d ƒ d d0 „ } | d d ƒ | d d d ƒ | d d d d ƒ | d\ Œ  | d d i d d' 6� d d d1 „ } | ƒ  | d ƒ | d d ƒ | d d d ƒ | d d] Œ | i d d# 6d d& 6�  d d d2 „ } | d ƒ | d d ƒ | d d d ƒ | d d d d ƒ | d^ Œ  | d d d_ Œ | d d` i d d' 6Ž d d d3 „ } | d d ƒ | d d d ƒ | d d d d ƒ | d d d d d ƒ | da Œ  | d d db Œ | d dc i d d4 6Ž e  d5 e f ƒ � d6 d  UWd  QXe  d e f ƒ � d7 d  UWd  QXe d ƒ e dd ƒ d8 „  } |  j | d d9 d d: d d d g Œde i d d9 6d d: 6f ƒ |  j e e d; ƒ |  j e e d< ƒ |  j | i d= d> 6d? d@ 6�  df i d= d> 6d? d@ 6f ƒ |  j | d@ d? i d= d> 6� dg i d= d> 6d? d@ 6f ƒ e |  dA ƒ e |  dB ƒ dC „  } d  S(h   Nc           S   s   d  S(   N(    (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   f1¤   R"   c         S   s   d  S(   N(    (   t   one_argument(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   f2¨   R"   c         S   s   d  S(   N(    (   t   twot	   arguments(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   f3©   R"   s*   tuple parameter unpacking has been removeds/   def f4(two, (compound, (argument, list))): passs$   def f5((compound, first), two): passR-   R/   R0   t   javas   (compound, (argument, list))t   compoundt   argumentt   lists   (compound, first)t   firsts   .1s   .0c         S   s   d  S(   N(    (   t   one_arg(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   a1»   R"   c         S   s   d  S(   N(    (   R/   t   args(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   a2¼   R"   c          W   s   d  S(   N(    (   t   rest(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   v0½   R"   c         W   s   d  S(   N(    (   t   aR;   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   v1¾   R"   c         W   s   d  S(   N(    (   R=   t   bR;   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   v2¿   R"   s.   def v3(a, (b, c), *rest): return a, b, c, resti   i   i   i   i   i   i   i   i	   i    R=   s   (b, c)R;   R?   t   cc         S   s   d  S(   N(    (   R=   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   d01ã   R"   c         S   s   d  S(   N(    (   R=   R?   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   d11ê   R"   c         S   s   d  S(   N(    (   R=   R?   RA   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   d21î   R"   c         S   s   d  S(   N(    (   R=   R?   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   d02õ   R"   c         S   s   d  S(   N(    (   R=   R?   RA   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   d12ý   R"   c         S   s   d  S(   N(    (   R=   R?   RA   t   d(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   d22  R"   c         W   s   d  S(   N(    (   R=   R;   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   d01v  R"   c         W   s   d  S(   N(    (   R=   R?   R;   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   d11v  R"   c         W   s   d  S(   N(    (   R=   R?   RA   R;   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   d21v  R"   c         W   s   d  S(   N(    (   R=   R?   R;   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   d02v  R"   c         W   s   d  S(   N(    (   R=   R?   RA   R;   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   d12v  R"   c         W   s   d  S(   N(    (   R=   R?   RA   RG   R;   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   d22v%  R"   RG   s(   parenthesized argument names are invalids   def d31v((x)): passs   def d32v((x,)): passc          _   s
   |  | f S(   N(    (   R9   t   kwargs(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   f7  s    R   R&   s   f(1, *(2,3), 4)s   f(1, x=2, *(3,4), x=5)t	   scrambledt   eggst   friedt   spams
   f(*g(1=2))s   f(**g(1=2))c         S   s   d  S(   N(    (   R=   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyRP   G  R"   (    (    (   R-   (   R/   R0   (   R/   s   (compound, (argument, list))R3   R4   R5   (   s   (compound, first)R/   R3   R6   (   R/   s   .1R3   R4   R5   (   s   .0R/   R3   R6   (   i   i   (   i   i   (   i   i   (   i   i   (   R=   s   (b, c)R;   R?   RA   (   R=   s   .1R;   R?   RA   (   i   i   (   i   (   i   (   i   i   i   (   i   i   (   i   (   i   i   (   i   (   i   i   i   i   (   i   (   i   i   i   i   (   i   i   i   (   i   i   i   i   (   i   i   i   (   i   (   i   i   i   i   (   i   i   i   (   i   i   (   i   (   i   i   i   (    (    (   R   t   SyntaxWarningR   t	   func_codet   co_varnamesR   t   platformt
   startswitht   f4t   f5t   v3t   d31vt   d32vR   R   R   R   (   R   R,   R.   R1   R8   R:   R<   R>   R@   RB   RC   RD   RE   RF   RH   RI   RJ   RK   RL   RM   RN   RP   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_funcdefš   s.   
	
		 
					



%

%%"(

















	'c         C   sö   d „  } |  j  | ƒ  d ƒ d „  } d „  } |  j  | ƒ  d d d g ƒ d d „ d „ d „ } |  j  | ƒ  d ƒ d	 d
 „ } |  j  | d d	 ƒ d ƒ |  j  | d d	 d ƒ d ƒ t |  d ƒ t d t f ƒ � t |  d ƒ Wd  QXd „  } d  S(   Nc           S   s   d S(   Ni    (    (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   <lambda>K  R"   i    c           S   s   t  t S(   N(   R=   RG   (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR`   M  R"   c          S   s&   g  d d d g D] }  d |  k  ^ q S(   Niÿÿÿÿi   l    i   (    (   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR`   N  R"   i   c         S   s   |  S(   N(    (   t   z(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR`   P  R"   c         S   s   |  ƒ  S(   N(    (   R&   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR`   P  R"   c         S   s   |  ƒ  S(   N(    (   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR`   P  R"   i   c         S   s   |  | | S(   N(    (   R   R&   Ra   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR`   R  R"   i   i   i   s   lambda x: x = 2s*   tuple parameter unpacking has been removeds   lambda (None,): Nonec         S   s   d S(   Ni    (    (   R=   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR`   [  R"   (   R   R   R   RU   (   R   t   l1t   l2t   l3t   l4t   l5t   l10(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_lambdefI  s    			c         C   s   d } ~ d „  } | ƒ  d  S(   Ni   c          S   s   d }  ~  d  S(   Ni   (    (   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   food  s     (    (   R   R   Ri   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_simple_stmta  s     	c   	      C   sx   d d } d } d	 } } } d
 \ } } } d d d f } \ } } } \ } } } } t  |  d ƒ t  |  d ƒ d  S(   Ni   i   i   i   s	   x + 1 = 1s   a + 1 = b + 2(   i   i   i   (   i   i   i   (   i   i   i   (   i   i   i   (   i   i   (   R   (	   R   R   R&   Ra   t   abcR=   R?   RA   t   xyz(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_expr_stmtl  s    -c            s»  d d  l  } t j } | j  ƒ  t _ d Gd Gd GHd Gd Gd GHd pG d Gd pQ d Gd p[ d GHt j d Id Id IJt j d Id Id It j Jt j d p¦ d Id p² d It j d pÅ d IJd d d „  ƒ  Y‰  ˆ  ƒ  } | d Id Id IJ| d Id Id I| J| d p!d Id p-d I| d p=d IJ‡  ‡ f d †  } t j d	 „ ‰ | ƒ  d  d
 „ ‰ | ƒ  |  j t j j ƒ  d ƒ | t _ t |  d ƒ t |  d ƒ d  S(   Niÿÿÿÿi   i   i   i    t   Gulpc           B   s   e  Z d  „  Z RS(   c         S   s   d  S(   N(    (   R   t   msg(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   write‘  R"   (   R(   R)   Rp   (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyRn   �  s   c             s>   t  j }  ˆ  ƒ  t  _ z ˆ ˆ  ƒ  ƒ ˆ ƒ  Wd  |  t  _ Xd  S(   N(   R   t   stdout(   t	   oldstdout(   Rn   t   tellme(    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   driver›  s    	c         S   s   |  d IJd  S(   Ns   hello world(    (   t   file(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyRs   ¥  s    c         S   s   |  d IJd  S(   Ns   goodbye universe(    (   Ru   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyRs   «  s    s0   1 2 3
1 2 3
1 1 1
1 2 3
1 2 3
1 1 1
hello world
s   print ,s   print >> x,(    (   t   StringIOR   Rq   t   NoneR   t   getvalueR   (   R   Rv   t   save_stdoutt   gulpRt   (    (   Rn   Rs   s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_print_stmty  s<    		
	c         C   s@   d d d g } | \ } } } | | | f } ~ ~ ~ ~ ~ d  S(   Ni   i   i   (    (   R   Rk   R   R&   Ra   Rl   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_del_stmt¿  s
    c         C   s   d  S(   N(    (   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_pass_stmtÈ  s    c         C   s   x Pq Wd  S(   N(    (   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_break_stmtÏ  s     c         C   s¸   d } x | r d } q	 q	 Wd } x- | sQ d } y w% d } Wq% d } q% Xq% W| d k rn |  j  | ƒ n  d } x! | s— d } z ww Wd  d } Xqw W| d k r´ |  j  | ƒ n  d  S(   Ni   i    R"   t   oks&   continue failed to continue inside trys'   continue inside try called except blocks   finally block not called(   R   (   R   t   iRo   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_continue_stmtÓ  s,    	  	
	c            s    d d ‡  f d † } | ƒ  d  S(   Ni   i    c            s‡   d } xR | rZ | d 7} y1 |  r< | d k r< |  d 8}  Pn  | d 8} w	 Wq	 ‚  q	 Xq	 W| d k ss | d k rƒ ˆ  j  d ƒ n  d  S(   Ni   i   s1   continue then break in try/except in loop broken!(   R   (   t   extra_burning_oilt   countt	   big_hippo(   R   (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt
   test_inner÷  s    	


(    (   R   R…   (    (   R   s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_break_continue_loopí  s    
c         C   s3   d „  } d „  } | ƒ  | ƒ  } t  |  d ƒ d  S(   Nc           S   s   d  S(   N(    (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   g1	  R"   c           S   s   d S(   Ni   (    (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   g2
  R"   s   class foo:return 1(   R   (   R   R‡   Rˆ   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_return  s
    			c         C   sŽ  d } x# | d k  r+ | d 7} z Wd  PXq	 W|  j  | d ƒ d } x& | d k  rj | d 7} z wE Wd  PXqE W|  j  | d ƒ d } x+ | d k  r® | d 7} z d d Wd  PXq„ W|  j  | d ƒ x- d d g D] } |  j  | d ƒ z Wd  PXqÌ W|  j  | d ƒ x0 d d g D]" } |  j  | d ƒ z wWd  PXqW|  j  | d ƒ x5 d d g D]' } |  j  | d ƒ z d d Wd  PXqOW|  j  | d ƒ d  S(   Ni    i   i   g      ð?g        (   R   (   R   Rƒ   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_break_in_finally  sN    


c         C   sX   d „  } |  j  | ƒ  d ƒ d „  } |  j  | ƒ  d ƒ d „  } |  j  | ƒ  d ƒ d  S(   Nc           S   s   z Wd  d SX(   Ni   (    (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR‡   D  s    i   c           S   s   z d SWd  d SX(   Ni   i   (    (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyRˆ   K  s    i   c           S   s   z d d Wd  d SX(   Ng      ð?g        i   (    (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   g3R  s    i   (   R   (   R   R‡   Rˆ   R‹   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_return_in_finallyC  s    			c         C   s‘   d „  } d „  } d „  } d „  } d „  } t  |  d ƒ d „  } d „  } t  |  d	 ƒ t  |  d
 ƒ t  |  d ƒ t  |  d ƒ t  |  d ƒ d  S(   Nc           s   s	   d Vd  S(   Ni   (    (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   g[  R"   c          s   s   d V}  d  S(   Ni   (    (   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR�   ]  R"   c           s   s	   d Vd  S(   Ni   (   i   i   (    (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR�   _  R"   c          s   s   d V}  d  S(   Ni   (   i   i   (    (   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR�   `  R"   c           s   s   d d Vf d  S(   Ni   (    (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR�   b  R"   s   def g(): 1, yield 1c           s   s   t  d Vƒ d  S(   Ni   (   RP   (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR�   e  R"   c           s   s   t  d Vd ƒ d  S(   Ni   (   RP   (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR�   f  R"   s   def g(): f(yield 1)s   def g(): f(yield 1, 1)t   yields   class foo:yield 1s   def g(a:(yield)): pass(   R   (   R   R�   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt
   test_yieldY  s    							c            sÝ   d „  } ‡  f d †  } | d d ƒ | d d ƒ | d d ƒ | d d ƒ | d	 d
 ƒ | d d
 ƒ | d d ƒ t  d t f ƒ � t ˆ  d ƒ Wd  QX| d d ƒ t  d t f ƒ � t ˆ  d ƒ Wd  QX| d d ƒ d  S(   Nc          s   s   g  d Vg D] }  |  ^ q d  S(   Ni   (    (   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR�   r  R"   c            s    t  | t f ƒ � t |  d d ƒ Wd  QXt j rœ t j ƒ  �Y t j d d t ƒˆ  j t	 ƒ � } t |  d d ƒ Wd  QXˆ  j
 | t | j ƒ ƒ Wd  QXn  d  S(   Ns   <test string>t   exect   errort   category(   R   t   DeprecationWarningt   compileR   t   py3kwarningt   warningst   catch_warningst   filterwarningsR   R   t   assertInt   strt	   exception(   t   codet   warntextt   cm(   R   (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   checkt  s    	s    def g(): [(yield x) for x in ()]s!   'yield' inside list comprehensions)   def g(): [x for x in () if not (yield x)]s-   def g(): [y for x in () for y in [(yield x)]]s    def g(): {(yield x) for x in ()}s    'yield' inside set comprehensions#   def g(): {(yield x): x for x in ()}s!   'yield' inside dict comprehensions#   def g(): {x: (yield x) for x in ()}s    def g(): ((yield x) for x in ())s#   'yield' inside generator expressions    class C: [(yield x) for x in ()]s    class C: ((yield x) for x in ())s   [(yield x) for x in ()]s   ((yield x) for x in ())(   R   R“   R   (   R   R�   RŸ   (    (   R   s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_yield_in_comprehensionsp  s4    	
c         C   sC   y t  d ‚ Wn t  k
 r  n Xy
 t ‚ Wn t k
 r> n Xd  S(   Ns   just testing(   t   RuntimeErrort   KeyboardInterrupt(   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt
   test_raise—  s       
 c         C   sŠ   d d  l  } d d  l } d d  l  } d d l m } d d l m } d d l  m } m } d d l  m } m } d d l  m } m } d  S(   Niÿÿÿÿ(   t   time(   t   patht   argv(   R   R¤   R¥   R¦   (   R   R   R¤   R¥   R¦   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_importž  s    c         C   s   d  S(   N(    (   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_global«  s    c         B   sP  d  } ~ d d  U| d k r- |  j d ƒ n  ~ d d  U| d k rT |  j d ƒ n  d  } ~ d d  l } e | d ƒ rƒ d d  Un  i  } d	 | Ud
 | k r§ | d
 =n  | i d d 6k rÊ |  j d ƒ n  i  } i  } d | | Ud
 | k rö | d
 =n  d
 | k r| d
 =n  | | f i d d 6i d d 6f k rL|  j d | | f ƒ n  d  S(   Ns   z=1+1
i   s   exec 'z=1+1'\ns   z=1+1s   exec 'z=1+1'iÿÿÿÿt   UnicodeTypes¸   if 1:
            exec u'z=1+1\n'
            if z != 2: self.fail('exec u\'z=1+1\'\\n')
            del z
            exec u'z=1+1'
            if z != 2: self.fail('exec u\'z=1+1\'')s   z = 1t   __builtins__i   Ra   s   exec 'z = 1' in gs   global a; a = 1; b = 2R=   R?   s   exec ... in g (%s), l (%s)(   Rw   R   t   typest   hasattr(   R   Ra   R«   R�   t   l(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt	   test_exec±  s:       
 
 
 
&c         C   sR   y Wn  t  k
 r& } |  j d ƒ n Xy Wn  t  k
 rM } |  j d ƒ n Xd  S(   Ns6   'assert True' should not have raised an AssertionErrors;   'assert True, msg' should not have raised an AssertionError(   t   AssertionErrorR   (   R   t   e(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_assertÑ  s    s    Won't work if __debug__ is Falsec         C   s‚   y Wn* t  k
 r0 } |  j | j d d ƒ n X|  j d ƒ y Wn, t  k
 rp } |  j t | j ƒ d ƒ n X|  j d ƒ d  S(   Ni    Ro   s%   AssertionError not raised by assert 0s+   AssertionError not raised by 'assert False'(   R¯   R   R9   R   R$   (   R   R°   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   testAssert2ä  s    c         C   s   d  S(   N(    (   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_ifø  s    c         C   s    d } d } |  j  | d ƒ d  S(   Ni    i   (   R   (   R   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt
   test_while  s    c         C   sÎ   x d
 D] } q Wx d D] \ } } } q Wd d d „  ƒ  Y} d } x | d ƒ D] } | | } qQ W| d k r� |  j  d	 ƒ n  g  } x' d d d g D] \ } | j | ƒ q— W|  j | d d d g ƒ d  S(   Ni   i   i   t   Squaresc           B   s#   e  Z d  „  Z d „  Z d „  Z RS(   c         S   s   | |  _  g  |  _ d  S(   N(   t   maxt   sofar(   R   R¶   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   __init__  s    	c         S   s   t  |  j ƒ S(   N(   R$   R·   (   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   __len__  R"   c         S   ss   d | k o |  j  k  n s( t ‚ n  t |  j ƒ } x. | | k rg |  j j | | ƒ | d } q: W|  j | S(   Ni    i   (   R¶   t
   IndexErrorR$   R·   t   append(   R   R€   t   n(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   __getitem__  s     	(   R(   R)   R¸   R¹   R½   (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyRµ     s   		i    i
   i  s   for over growing sequence(   i   i   i   (    (    (   i   (   i   (   i   (   R   R»   R   (   R   R€   t   jt   kRµ   R¼   R   t   result(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_for  s       c         C   sÊ   y d d Wn t  k
 r n Xy d d Wn; t k
 r? n+ t k
 rQ } n t k
 rc } n n Xy d d Wn t t t  f k
 r’ n Xy d d Wn t t t  f k
 r½ } n Xz Wd  Xd  S(   Ni   g        (   t   ZeroDivisionErrort   EOFErrort	   TypeErrorR¡   (   R   Ro   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_try/  s2              c         C   s   d  S(   N(    (   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt
   test_suiteF  s    c         C   sz   d s	 n  d r d r n  d s' d r' n  d s2 n  d rH d rH d rH n  d rT d sv d rf d rf d sv d rv d rv n  d  S(   Ni   (    (   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt	   test_testU  s         + c         C   sà  d d k } d d k r n  d d k r* n  d d k  r9 n  d d k rH n  d d k rW n  d d k rf n  d d k ru n  d d k	 r„ n  d d	 k r“ n  d d
 k r¢ n  d d k  od k od k od k od k od k od k od k od k od k	 n rn  t  d t f ƒ � t d ƒ r;n  Wd  QXt  d t f ƒ � t d ƒ rcn  Wd  QXt j rÜt j ƒ  �Y t j d d t ƒ|  j t ƒ � } t	 d d d ƒ Wd  QX|  j
 d t | j ƒ ƒ Wd  QXn  d  S(   Ni   s   <> not supported in 3.x; use !=s   1 <> 1s>   1 < 1 > 1 == 1 >= 1 <= 1 <> 1 != 1 in 1 not in 1 is 1 is not 1R‘   R’   s   <test string>R   (    (    (   R   R“   R   R   R•   R–   R—   R˜   R   R”   R™   Rš   R›   (   R   R   Rž   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_comparison`  sL              t  	 			c         C   s   d } d } d } d  S(   Ni   i   i    i   (    (   R   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_binary_mask_ops~  s    c         C   s   d } d } d } d  S(   Ni   i   i    i   i   (    (   R   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_shift_opsƒ  s    c         C   s   d } d } d } d } d  S(	   Ni   i   i    iÿÿÿÿi    i   i    i   (    (   R   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_additive_opsˆ  s    c         C   sz   d } t  d t f ƒ � d d } Wd  QXd d } d } t  d t f ƒ � d d d d } Wd  QXd d d d } d  S(   Ni   s   classic int divisiong      ð?i   i    (   R   R“   (   R   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_multiplicative_opsŽ  s    
c         C   sb   d 
} d } d } d d Ad	 B} t  d t f ƒ � d
 d d d } Wd  QXd d d d } d  S(   Ni   iÿÿÿÿs   classic int divisiong      ð?iþÿÿÿiþÿÿÿi   i   iþÿÿÿiÿÿÿÿi   i   iÿÿÿÿiÿÿÿÿiÿÿÿÿi   i   iÿÿÿÿiÿÿÿÿ(   R   R“   (   R   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_unary_ops˜  s    c   	      C   s  d d  l  } d d  l } | j d } | j ƒ  } | j d j ƒ  } d } | d } | d } | d d !} | d  } | d } | } | d } | d  } | d d !} i  } d	 | d	 <d
 | d <d | d <d | d <t | ƒ } | j d d „  ƒ |  j t | ƒ d ƒ d  S(   Niÿÿÿÿi    R¤   t   01234i   iûÿÿÿiüÿÿÿiýÿÿÿi   i   i   i   t   keyc         S   s   t  |  ƒ j |  f S(   N(   R   R(   (   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR`   ¼  R"   s   [1, (1,), (1, 2), (1, 2, 3)](   i   (   i   i   (   i   i   i   (   R   R¤   R¥   t   modulesR5   t   sortR   Rš   (	   R   R   R¤   RA   R   R=   R   RG   t   L(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_selectors¡  s,    









c         C   s™  d } d p d p d } d p' d p' d d d f } g  } d g } d pQ d pQ d g } d pf d pf d d d g } g  } i  } i d d 6} i d d 6} i d p¤ d d p­ d 6} i d d 6d d 6} i d d 6d d 6} i d d 6d d 6d d 6d d 6d	 d
 6d d 6} d h } d d h } d d d h } d d d h } t  d t f ƒ �3 t d ƒ } t d ƒ } |  j t d ƒ d ƒ Wd  QX| } d } d } d  S(   Ni   i   i   t   oneR/   t   threei   t   fouri   t   fivei   t   sixs   backquote not supporteds   `x`s   `1 or 2 or 3`s   `1,2`s   (1, 2)R   i{   (   R   RU   R   R   (   R   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt
   test_atoms¿  s4    	0	c   	      C   sº   d d d „  ƒ  Y} d d d „  ƒ  Y} d | f d „  ƒ  Y} d | f d „  ƒ  Y} d	 | | | f d
 „  ƒ  Y} d d d „  ƒ  Y} d „  } | d d d „  ƒ  Yƒ } |  j  | j t ƒ d  S(   Nt   Bc           B   s   e  Z RS(    (   R(   R)   (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyRÚ   é  s    t   B2c           B   s   e  Z RS(    (   R(   R)   (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyRÛ   ê  s    t   C1c           B   s   e  Z RS(    (   R(   R)   (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyRÜ   ë  s    t   C2c           B   s   e  Z RS(    (   R(   R)   (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyRÝ   ì  s    t   Dc           B   s   e  Z RS(    (   R(   R)   (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyRÞ   í  s    t   Cc           B   s#   e  Z d  „  Z d „  Z d „  Z RS(   c         S   s   d  S(   N(    (   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   meth1ï  R"   c         S   s   d  S(   N(    (   R   t   arg(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   meth2ð  R"   c         S   s   d  S(   N(    (   R   R8   R:   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   meth3ñ  R"   (   R(   R)   Rà   Râ   Rã   (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyRß   î  s   		c         S   s   t  |  _ |  S(   N(   t   Truet	   decorated(   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   class_decoratorö  s    	t   Gc           B   s   e  Z RS(    (   R(   R)   (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyRç   ù  s   (    (    (    (    (   R   Rå   Rä   (	   R   RÚ   RÛ   RÜ   RÝ   RÞ   Rß   Ræ   Rç   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_classdefç  s    	c         C   sB   d d d g } |  j  d „  | Dƒ i d d 6d d 6d d 6ƒ d  S(   Ni   i   i   c         S   s   i  |  ] } | d  | “ q S(   i   (    (   t   .0R€   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys
   <dictcomp>  s   	 i   (   R   (   R   t   nums(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_dictcompsþ  s    c            s"  d d d d d g } d d d g } d	 d
 d g } ˆ  j  g  | D] } | j ƒ  ^ q@ d d d g ƒ ˆ  j  g  | D] } d | ^ qr d d d d d g ƒ ˆ  j  g  | D] } | d k r¨ | ^ q¨ d d d g ƒ ˆ  j  g  | D] } | D] } | | f ^ qê qà d$ d% d& d' d( d) d* d+ d, d- d. d/ d0 d1 d2 g ƒ ˆ  j  g  | D]> } g  | D] } d | k rP| ^ qPD] } | | f ^ qlqCd3 d4 d5 d6 d7 d8 d9 d: d; d< g
 ƒ ˆ  j  g  t d ƒ D] } d „  | ƒ ^ q¼d g d d g d d d g d d d d g d d d d d g g ƒ d „  }	 ˆ  j  |	 | ƒ t t t g ƒ ‡  f d †  }
 |
 ƒ  t ˆ  d ƒ t ˆ  d ƒ d= d> d? g } d@ dA dB g } dC dD dE dF g } g  | D]V \ } } | D]C \ } } | D]0 \ } } | | k rÆ| | k rÆ| | f ^ qÆq¶q¦} ˆ  j  | dG dH dI dJ g ƒ d  S(K   Ni   i   i   i   i   t   Applet   Bananat   Coconuts     Apples    Banana s   Coco  nut  s	   Coco  nuti   i	   i   i   R¼   c         S   s%   g  t  |  d ƒ D] } |  | ^ q S(   Ni   (   t   range(   R=   R€   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR`     R"   i   i   i@   i   c         S   s9   g  |  D]. } | d k r d | k  o0 d k  n ^ q S(   Ni   i    i   (    (   R­   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_in_func  s    c             sh   ˆ  j  g  d d d g D]) }  g  |  |  d g D] } | ^ q- ^ q d d g d d g d d g g ƒ d  S(   Ni   i   i   i   i   i   (   R   (   R   R&   (   R   (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_nested_front   s    Bs"   [i, s for i in nums for s in strs]s   [x if y]t   Boeingt   Fordt
   Macdonaldsi
   t   Airlineri   t   Enginei   t   Cheeseburger(   i   Rì   (   i   Rí   (   i   Rî   (   i   Rì   (   i   Rí   (   i   Rî   (   i   Rì   (   i   Rí   (   i   Rî   (   i   Rì   (   i   Rí   (   i   Rî   (   i   Rì   (   i   Rí   (   i   Rî   (   i   Rí   (   i   Rî   (   i   Rí   (   i   Rî   (   i   Rí   (   i   Rî   (   i   Rí   (   i   Rî   (   i   Rí   (   i   Rî   (   i   Rò   (   i   Ró   (   i   Rô   (   i
   Rõ   (   i   Rö   (   i   R÷   (   i   i
   (   i   i   (   i   i   (   i   i   (   Rò   Rõ   (   Rò   Rö   (   Ró   Rö   (   Rô   R÷   (   R   t   stripRï   t   FalseR   (   R   Rê   t   strst   spcsR   R   R€   RP   R¾   Rð   Rñ   t	   supplierst   partst   suppartt   snot   snamet   pnot   pnamet   sp_snot   sp_pno(    (   R   s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_listcomps  sL    268/				N+C			0c            s  d „  t  d ƒ Dƒ } |  j | j ƒ  g  t  d ƒ D] } | ^ q2 ƒ y | j ƒ  |  j d ƒ Wn t k
 rs n Xd ‰  y1 ‡  f d †  ˆ  Dƒ } | j ƒ  |  j d ƒ Wn t k
 r¾ n X|  j t d „  d Dƒ ƒ g  d D] } d D] } | | f ^ qé qß ƒ |  j t d	 „  d
 Dƒ ƒ g  d
 D] } d D] } | | f ^ q/q%ƒ g  t  d ƒ D] } | ^ qX‰  d „  d „  ˆ  Dƒ Dƒ } |  j t | ƒ t g  t  d ƒ D] } | ^ q£ƒ ƒ |  j t d „  t  d ƒ Dƒ ƒ t g  t  d ƒ D] } | d ^ qèƒ ƒ |  j t d „  t  d ƒ Dƒ ƒ t g  t  d ƒ D] } | d r1| | ^ q1ƒ ƒ |  j t d „  d „  t  d ƒ Dƒ Dƒ ƒ t g  t  d ƒ D] } | ^ qŽƒ ƒ |  j t d „  d „  d „  t  d ƒ Dƒ Dƒ Dƒ ƒ t g  t  d ƒ D] } | ^ qçƒ ƒ |  j t d „  g  d „  t  d ƒ Dƒ D] } | ^ q#Dƒ ƒ t g  t  d ƒ D] } | ^ qIƒ ƒ |  j t d „  d „  d „  t  d ƒ Dƒ Dƒ Dƒ ƒ t g  t  d ƒ D] } | ^ q¢ƒ ƒ |  j t d „  d „  d „  t  d ƒ Dƒ Dƒ Dƒ ƒ d ƒ t |  d ƒ t |  d  ƒ d  S(!   Nc         s   s.   |  ]$ } g  t  d  ƒ D] } | ^ q Vq d S(   i
   N(   Rï   (   Ré   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>F  s    i   i
   s&   should produce StopIteration exceptionc         3   s   |  ] } ˆ  Vq d  S(   N(    (   Ré   RG   (   R=   (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>P  s    s   should produce TypeErrorc         s   s(   |  ] } d  D] } | | f Vq q d S(   t   abcdN(    (   Ré   R   R&   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>V  s    R  c         s   s(   |  ] } d  D] } | | f Vq q d S(   t   xyN(    (   Ré   R   R&   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>W  s    t   abR  c         s   s   |  ] } | Vq d  S(   N(    (   Ré   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>Z  s    c         s   s   |  ] } | Vq d  S(   N(    (   Ré   R&   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>Z  s    c         s   s   |  ] } | d  Vq d S(   i   N(    (   Ré   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>]  s    i   c         s   s#   |  ] } | d  r | | Vq d S(   i   N(    (   Ré   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>^  s    c         s   s   |  ] } | Vq d  S(   N(    (   Ré   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>_  s    c         s   s   |  ] } | Vq d  S(   N(    (   Ré   R&   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>_  s    c         s   s   |  ] } | Vq d  S(   N(    (   Ré   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>`  s    c         s   s   |  ] } | Vq d  S(   N(    (   Ré   R&   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>`  s    c         s   s   |  ] } | Vq d  S(   N(    (   Ré   Ra   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>`  s    c         s   s   |  ] } | Vq d  S(   N(    (   Ré   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>a  s    c         s   s   |  ] } | Vq d  S(   N(    (   Ré   Ra   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>a  s    c         s   s   |  ] } t  r | Vq d  S(   N(   Rä   (   Ré   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>b  s    c         s   s   |  ] } | Vq d  S(   N(    (   Ré   R&   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>b  s    c         s   s   |  ] } t  r | Vq d  S(   N(   Rä   (   Ré   Ra   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>b  s    c         s   s   |  ] } t  r | Vq d  S(   N(   Rä   (   Ré   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>c  s    c         s   s   |  ] } t  r | Vq d  S(   N(   Rù   (   Ré   R&   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>c  s    c         s   s   |  ] } t  r | Vq d  S(   N(   Rä   (   Ré   Ra   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>c  s    i    s   foo(x for x in range(10), 100)s   foo(100, x for x in range(10))(	   Rï   R   t   nextR   t   StopIterationRÄ   R5   t   sumR   (   R   R�   R   R&   R?   (    (   R=   s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_genexpsD  s8    /

FF5ISOYbY:c            s   d ‰ d „  t  ˆ ƒ Dƒ } d ‰ |  j t t | ƒ ƒ d ƒ d ‰ t ‰  ‡  ‡ f d †  t  ˆ ƒ Dƒ } d ‰ t ‰  |  j g  t  d ƒ D]% } t  d ƒ D] } | | f ^ q˜ qˆ t | ƒ ƒ |  j g  t  d ƒ D]  ‰ ˆ d rÐ ˆ d rÐ ˆ ^ qÐ d d d g ƒ |  j t d	 „  t  d ƒ Dƒ ƒ d d d g ƒ |  j g  d d d g D] \ ‰ ˆ ^ qHd
 d d g ƒ |  j t d „  d d d g Dƒ ƒ d d d g ƒ d  S(   Ni
   c         s   s   |  ] } | Vq d  S(   N(    (   Ré   R€   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>i  s    i   c         3   s4   |  ]* } ˆ  r t  ˆ ƒ D] } | | f Vq q d  S(   N(   Rï   (   Ré   R€   R¾   (   t   tR   (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>m  s    i   i   i   i   c         s   s)   |  ] } | d  r | d r | Vq d S(   i   i   N(    (   Ré   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>t  s    i   i   c         s   s   |  ] \ } | Vq d  S(   N(    (   Ré   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pys	   <genexpr>x  s    i   i	   (   i   (   i   (   i   (   i   (   i   (   i	   (   Rï   R   R$   R5   Rù   Rä   (   R   R�   R€   R¾   (    (   R  R   s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_comprehension_specialsg  s         HF/8c         C   sº   d t  f d „  ƒ  Y} | ƒ  � Wd  QX| ƒ  � } Wd  QX| ƒ  � \ } } Wd  QX| ƒ  � | ƒ  � Wd  QXWd  QX| ƒ  � } | ƒ  � } Wd  QXWd  QX| ƒ  � } | ƒ  � Wd  QXWd  QXd  S(   Nt   managerc           B   s   e  Z d  „  Z d „  Z RS(   c         S   s   d S(   Ni   i   (   i   i   (    (   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt	   __enter__|  s    c         W   s   d  S(   N(    (   R   R9   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   __exit__~  s    (   R(   R)   R  R  (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR  {  s   	(   t   object(   R   R  R   R&   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_with_statementz  s     

 
  
c         C   sº  d „  } |  j  g  d „  d „  f D] } | ƒ  r" | ƒ  ^ q" t g ƒ |  j  g  d „  d „  f D] } | ƒ  r` | ƒ  ^ q` t g ƒ |  j  g  d „  d „  f D] } | t ƒ rž | t ƒ ^ qž t g ƒ |  j  d	 n | d
 d ƒ d	 ƒ |  j  d r| d d ƒ n d	 d	 ƒ |  j  d r%d	 o(d n d d ƒ |  j  d rGd	 oJd n d d ƒ |  j  d	 ofd n d d ƒ |  j  d rŽd p‘| d d ƒ n d d ƒ |  j  d p¿| d d ƒ n | d d ƒ d ƒ |  j  d päd	 n | d d ƒ d	 ƒ |  j  d	 n d t ƒ |  j  d rd	 n d d ƒ |  j  d n d d ƒ |  j  d n d d	 ƒ |  j  d n d d ƒ t d t f ƒ � |  j  d d n d d ƒ Wd  QX|  j  d r¬d d k  n d d ƒ d  S(   Nc         S   s	   |  GH| S(   s@   helper to check that evaluation of expressions is done correctly(    (   Ro   t   ret(    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt
   _checkeval�  s    c           S   s   t  S(   N(   Rä   (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR`   •  R"   c           S   s   t  S(   N(   Rù   (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR`   •  R"   c           S   s   t  S(   N(   Rä   (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR`   –  R"   c           S   s   t  S(   N(   Rù   (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR`   –  R"   c         S   s   |  r
 t  St S(   N(   Rù   Rä   (   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR`   —  R"   c         S   s   |  r
 t  St S(   N(   Rä   Rù   (   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR`   —  R"   i   i   s   check 1i    s   check 2i   s   check 3i   i   s   check 4s   check 5s   check 6i   i   i   s   classic int divisioni   i   i   (   R   Rä   Rù   R   R“   (   R   R  R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_if_else_exprŽ  s(    	>>D%""+.% c         C   s�   |  j  d d d ƒ |  j  d d ƒ |  j  d
 d ƒ |  j t d d k k ƒ |  j t d k d k ƒ |  j t d k oƒ d k n ƒ d  S(   Ni   i   i   i   i   i   i   i   i   i   (   R   R   Rù   t   assertFalse(   R   (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   test_paren_evaluation©  s    (1   R(   R)   R+   R_   Rh   Rj   Rm   R{   R|   R}   R~   R�   R†   R‰   RŠ   RŒ   R�   R    R£   R§   R¨   R®   R±   t   unittestt
   skipUnlesst	   __debug__R²   R³   R´   RÁ   RÅ   RÆ   RÇ   RÈ   RÉ   RÊ   RË   RÌ   RÍ   RÓ   RÙ   Rè   Rë   R  R  R  R  R  R  (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyR*   ‹   sX   		¯				F								4			'				 												
				(			?	#			c           C   s   t  t t ƒ d  S(   N(   R    R   R*   (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt	   test_main²  s    t   __main__(   t   test.test_supportR    R   R   R  R   R–   t   TestCaseR   R*   R  R(   (    (    (    s‡   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_grammar.pyt   <module>   s   
~ÿ ÿ ÿ ÿ +	