ó
ŠwÛjc           @   sø   d  d l  Z  d  d l m Z d  d l Z d  d l Z d  d l Z d  d l Z d  d l Z d  d l Z d e  j	 f d „  ƒ  YZ
 d  d l m Z d e j f d „  ƒ  YZ d e f d	 „  ƒ  YZ d
 e j f d „  ƒ  YZ d „  Z e d k rô e ƒ  n  d S(   iÿÿÿÿN(   t   test_supportt   DictTestc           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 d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z  d „  Z! e" j# d  „  ƒ Z$ e" j# d! „  ƒ Z% e" j# d" „  ƒ Z& d# „  Z' d$ „  Z( d% „  Z) d& „  Z* d' „  Z+ d( „  Z, d) „  Z- RS(*   c         C   s*   |  j  t ƒ  i  ƒ |  j t ƒ  i  ƒ d  S(   N(   t   assertEqualt   dictt   assertIsNot(   t   self(    (    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_dict.pyt   test_constructor
   s    c         C   s¢   x› d D]“ } g  t  | ƒ D]* } d j t j t j d ƒ ƒ | f ^ q } t j | ƒ d „  | Dƒ } d	 d
 j | ƒ d } |  j t | ƒ t	 | ƒ ƒ q Wd  S(   Ni    i   i   i   i�  t    i   c         s   s'   |  ] \ } } d  j  | | ƒ Vq d S(   s
   {!r}: {:d}N(   t   format(   t   .0t   kt   v(    (    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_dict.pys	   <genexpr>   s    t   {s   , t   }(   i    i   i   i   i�  (
   t   ranget   joint   randomt   samplet   stringt   letterst   shuffleR   t   evalR   (   R   t   nt   it   itemst   formatted_itemst   dictliteral(    (    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_dict.pyt   test_literal_constructor   s    :c         C   s\   |  j  i  t ƒ |  j i d d 6ƒ |  j  t i  ƒ t ƒ |  j  t i d d 6ƒ t ƒ d  S(   Ni   i   (   t   assertIst   Truet
   assertTruet   boolt   False(   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_dict.pyt	   test_bool   s    c         C   s¾   i  } |  j  | j ƒ  g  ƒ i d d 6d d 6} | j ƒ  } |  j  t | ƒ d d h ƒ |  j d | ƒ |  j d | ƒ |  j | j d ƒ ƒ |  j | j d ƒ ƒ |  j t | j d  ƒ d  S(   Ni   t   ai   t   b(	   R   t   keyst   sett   assertInR   t   has_keyt   assertRaisest	   TypeErrort   None(   R   t   dR
   (    (    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_dict.pyt	   test_keys    s    c         C   s\   i  } |  j  | j ƒ  g  ƒ i d d 6} |  j  | j ƒ  d g ƒ |  j t | j d  ƒ d  S(   Ni   i   (   R   t   valuesR(   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_dict.pyt   test_values,   s
    c         C   s\   i  } |  j  | j ƒ  g  ƒ i d d 6} |  j  | j ƒ  d g ƒ |  j t | j d  ƒ d  S(   Ni   i   (   i   i   (   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_dict.pyt
   test_items4   s
    c         C   ss   i  } |  j  | j d ƒ ƒ i d d 6d d 6} | j ƒ  } | j ƒ  |  j | d d g ƒ |  j t | j ƒ d  S(   NR"   i   i   R#   (   t   assertFalseR'   R$   t   sortR   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_dict.pyt   test_has_key=   s    
c         C   s—   i  } |  j  d | ƒ |  j d | k ƒ |  j d | k ƒ i d d 6d d 6} |  j d | ƒ |  j d | ƒ |  j  d | ƒ |  j t | j ƒ d  S(   NR"   i   i   R#   t   c(   t   assertNotInR0   R   R&   R(   R)   t   __contains__(   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_dict.pyt   test_containsG   s    c         C   sJ   i  } |  j  t | ƒ d ƒ i d d 6d d 6} |  j  t | ƒ d ƒ d  S(   Ni    i   R"   i   R#   (   R   t   len(   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_dict.pyt   test_lenS   s    c            s]  i d d 6d d 6} |  j  | d d ƒ |  j  | d d ƒ d | d <d | d <|  j  | d d ƒ |  j  | d d ƒ | d =|  j  | i d d 6d d 6ƒ |  j t | j ƒ d t f ‡  f d	 †  ƒ  Y} i  } d
 | | ƒ  <|  j t | j d ƒ d t f d „  ƒ  Y‰  d t f ‡  f d †  ƒ  Y} | ƒ  } d
 | | <t | _ |  j ˆ  | j | ƒ d  S(   Ni   R"   i   R#   i   R3   i   t   BadEqc              s    e  Z ‡  f d  †  Z d „  Z RS(   c            s   ˆ  ƒ  ‚ d  S(   N(    (   R   t   other(   t   Exc(    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_dict.pyt   __eq__g   s    c         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_dict.pyt   __hash__i   s    (   t   __name__t
   __module__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_dict.pyR9   f   s   i*   i   R;   c           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_dict.pyR;   p   s    t   BadHashc              s   e  Z e Z ‡  f d  †  Z RS(   c            s   |  j  r ˆ  ƒ  ‚ n d Sd  S(   Ni*   (   t   fail(   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_dict.pyR=   t   s    	(   R>   R?   R    RA   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_dict.pyR@   r   s   (	   R   R(   R)   t   __getitem__t   objectt   KeyErrort	   ExceptionR   RA   (   R   R+   R9   R@   t   x(    (   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_dict.pyt   test_getitemY   s(    

	
	c         C   sO   i d d 6d d 6d d 6} | j  ƒ  |  j | i  ƒ |  j t | j  d  ƒ d  S(   Ni   i   i   (   t   clearR   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_dict.pyt
   test_clear   s    
c            s  i  } | j  i d d 6ƒ | j  i d d 6ƒ | j  i d d 6d d 6d d 6ƒ |  j | i d d 6d d 6d d 6ƒ | j  ƒ  |  j | i d d 6d d 6d d 6ƒ |  j t t f | j  d  ƒ d d d „  ƒ  Y} | j ƒ  | j  | ƒ  ƒ |  j | i d d 6d d 6d d 6ƒ d t f d	 „  ƒ  Y‰  | j ƒ  d
 d ‡  f d †  ƒ  Y} |  j ˆ  | j  | ƒ  ƒ d
 d ‡  f d †  ƒ  Y} |  j ˆ  | j  | ƒ  ƒ d
 d ‡  f d †  ƒ  Y} |  j ˆ  | j  | ƒ  ƒ d t f ‡  f d †  ƒ  Y} |  j ˆ  i  j  | ƒ  ƒ |  j t	 i  j  d g ƒ d  S(   Nid   i   i   i   i   t   SimpleUserDictc           B   s#   e  Z d  „  Z d „  Z d „  Z RS(   c         S   s"   i d d 6d d 6d d 6|  _  d  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_dict.pyt   __init__“   s    c         S   s   |  j  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_dict.pyR$   •   s    c         S   s   |  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_dict.pyRB   —   s    (   R>   R?   RK   R$   RB   (    (    (    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_dict.pyRJ   ’   s   		R;   c           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_dict.pyR;   �   s    t   FailingUserDictc              s   e  Z ‡  f d  †  Z RS(   c            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_dict.pyR$   ¡   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_dict.pyRL       s   c              s    e  Z ‡  f d  †  Z d „  Z RS(   c            s    d d ‡  f d †  ƒ  Y} | ƒ  S(   Nt	   BogonIterc              s)   e  Z d  „  Z d „  Z ‡  f d †  Z RS(   c         S   s   d |  _  d  S(   Ni   (   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_dict.pyRK   ¨   s    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_dict.pyt   __iter__ª   s    c            s    |  j  r d |  _  d Sˆ  ‚ d  S(   Ni    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_dict.pyt   next¬   s    		(   R>   R?   RK   RN   RO   (    (   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_dict.pyRM   §   s   		(    (    (   R   RM   (   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_dict.pyR$   ¦   s    
c         S   s   | S(   N(    (   R   t   key(    (    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_dict.pyRB   ²   s    (   R>   R?   R$   RB   (    (   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_dict.pyRL   ¥   s   c              s    e  Z d  „  Z ‡  f d †  Z RS(   c         S   s   d d d „  ƒ  Y} | ƒ  S(   NRM   c           B   s#   e  Z d  „  Z d „  Z d „  Z RS(   c         S   s   t  d ƒ |  _ d  S(   NR"   (   t   ordR   (   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_dict.pyRK   ¹   s    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_dict.pyRN   »   s    c         S   sA   |  j  t d ƒ k r7 t |  j  ƒ } |  j  d 7_  | St ‚ d  S(   Nt   zi   (   R   RQ   t   chrt   StopIteration(   R   t   rtn(    (    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_dict.pyRO   ½   s
    (   R>   R?   RK   RN   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_dict.pyRM   ¸   s   		(    (    (   R   RM   (    (    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_dict.pyR$   ·   s    c            s
   ˆ  ‚ d  S(   N(    (   R   RP   (   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_dict.pyRB   Ä   s    (   R>   R?   R$   RB   (    (   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_dict.pyRL   ¶   s   	t   badseqc              s    e  Z d  „  Z ‡  f d †  Z RS(   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_dict.pyRN   É   s    c            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_dict.pyRO   Ë   s    (   R>   R?   RN   RO   (    (   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_dict.pyRV   È   s   	(    (    (    (    (   i   i   i   (
   t   updateR   R(   R)   t   AttributeErrorR*   RH   RE   RC   t
   ValueError(   R   R+   RJ   RL   RV   (    (   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_dict.pyt   test_update†   s.    "%
%
%
c   
         s…  |  j  t j d ƒ i d  d 6d  d 6d  d 6ƒ i  ‰ |  j ˆ j d ƒ ˆ ƒ |  j  ˆ j d ƒ i d  d 6d  d 6d  d 6ƒ |  j  ˆ j d d ƒ i d d 6d d 6ƒ |  j  ˆ j g  ƒ i  ƒ d „  } |  j  ˆ j | ƒ  ƒ i d  d	 6ƒ |  j t i  j d
 ƒ d t f d „  ƒ  Y} |  j  | j d ƒ i d  d 6ƒ |  j  | ƒ  j d ƒ i d  d 6ƒ |  j | j d ƒ | ƒ |  j | ƒ  j d ƒ | ƒ d t f d „  ƒ  Y} | j d ƒ } |  j  | i d  d 6d  d 6ƒ |  j | t j ƒ |  j t t j ƒ d t	 f d „  ƒ  Y‰  d t f ‡  f d †  ƒ  Y} |  j ˆ  | j d	 g ƒ d t
 f ‡  f d †  ƒ  Y} |  j ˆ  t j | ƒ  ƒ d t f ‡  f d †  ƒ  Y} |  j ˆ  | j d	 g ƒ t t t d ƒ t d ƒ ƒ ƒ ‰ |  j  t j ˆ d ƒ t t t d ƒ d g d ƒ ƒ ƒ d t f ‡ f d †  ƒ  Y} d „  t d ƒ Dƒ ‰ ˆ j ƒ  }	 |	 j d d  d d  d d  ƒ |  j  | j d d d h ƒ |	 ƒ d  S(   Nt   abcR"   R#   R3   i   i   i    c           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_dict.pyt   gÙ   s    i   i   t   dictlikec           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_dict.pyR]   Ý   s    t   mydictc           B   s   e  Z d  „  Z RS(   c         S   s
   t  j  ƒ  S(   N(   t   UserDict(   t   cls(    (    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_dict.pyt   __new__ã   s    (   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_dict.pyR^   â   s   t   abR;   c           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_dict.pyR;   ê   s    t   baddict1c              s   e  Z ‡  f d  †  Z RS(   c            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_dict.pyRK   í   s    (   R>   R?   RK   (    (   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_dict.pyRc   ì   s   t   BadSeqc              s    e  Z d  „  Z ‡  f d †  Z RS(   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_dict.pyRN   ó   s    c            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_dict.pyRO   õ   s    (   R>   R?   RN   RO   (    (   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_dict.pyRd   ò   s   	t   baddict2c              s   e  Z ‡  f d  †  Z RS(   c            s   ˆ  ƒ  ‚ d  S(   N(    (   R   RP   t   value(   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_dict.pyt   __setitem__û   s    (   R>   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_dict.pyRe   ú   s   i   t   baddict3c              s   e  Z ‡  f d  †  Z RS(   c            s   ˆ  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_dict.pyRa     s    (   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_dict.pyRh     s   c         S   s   i  |  ] } | | “ q S(    (    (   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_dict.pys
   <dictcomp>  s   	 i
   (   i   i   (   R   R   t   fromkeysR*   R   R(   R)   t   assertIsInstanceR_   RE   RC   t   zipR   t   copyRW   (
   R   R\   R]   R^   t   udRc   Rd   Re   Rh   t   res(    (   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_dict.pyt   test_fromkeysÒ   sB    ..*	# #!8c         C   sv   i d d 6d d 6d d 6} |  j  | j ƒ  i d d 6d d 6d d 6ƒ |  j  i  j ƒ  i  ƒ |  j t | j d  ƒ d  S(   Ni   i   i   (   R   Rl   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_dict.pyt	   test_copy  s    +c         C   sì   i  } |  j  | j d ƒ d  ƒ |  j | j d d ƒ d ƒ i d d 6d d 6} |  j  | j d ƒ d  ƒ |  j | j d d ƒ d ƒ |  j | j d ƒ d ƒ |  j | j d d ƒ d ƒ |  j t | j ƒ |  j t | j d  d  d  ƒ d  S(   NR3   i   i   R"   i   R#   (   R   t   getR*   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_dict.pyt   test_get  s    c            s*  i  } |  j  | j d ƒ d  ƒ | j d g  ƒ |  j  | j d ƒ d  ƒ | j d g  ƒ j d ƒ |  j | d d d ƒ | j d g  ƒ j d ƒ |  j t | d ƒ d ƒ |  j t | j ƒ d t f d „  ƒ  Y‰  d	 t	 f ‡  f d
 †  ƒ  Y} | ƒ  } d | | <t
 | _ |  j ˆ  | j | g  ƒ d  S(   Nt   key0RP   i   i    i   i   R;   c           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_dict.pyR;   *  s    R@   c              s   e  Z e Z ‡  f d  †  Z RS(   c            s   |  j  r ˆ  ƒ  ‚ n d Sd  S(   Ni*   (   RA   (   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_dict.pyR=   .  s    	(   R>   R?   R    RA   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_dict.pyR@   ,  s   i*   (   R   t
   setdefaultR*   t   appendR   R7   R(   R)   RE   RC   R   RA   (   R   R+   R@   RF   (    (   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_dict.pyt   test_setdefault  s    	
	c         C   s‰   d t  f d „  ƒ  Y} | ƒ  } i d | 6} | ƒ  } | j | g  ƒ |  j | j d ƒ |  j | j d ƒ |  j | j | j d ƒ d  S(   Nt   Hashedc           B   s#   e  Z d  „  Z d „  Z d „  Z RS(   c         S   s   d |  _  d |  _ d  S(   Ni    (   t
   hash_countt   eq_count(   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_dict.pyRK   <  s    	c         S   s   |  j  d 7_  d S(   Ni   i*   (   Rx   (   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_dict.pyR=   ?  s    c         S   s%   |  j  d 7_  t |  ƒ t | ƒ k S(   Ni   (   Ry   t   id(   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_dict.pyR<   B  s    (   R>   R?   RK   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_dict.pyRw   ;  s   		i   i   (   RC   Rt   R   Rx   Ry   (   R   Rw   t   hashed1t   yt   hashed2(    (    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_dict.pyt   test_setdefault_atomic9  s    
		c         C   sk  xKd d 
f D]<} x3t  d ƒ D]%} d | } i  } i  } xC t  | ƒ D]5 } | | t | ƒ <| d k  rJ | | t | ƒ <qJ qJ W| d k rž | j ƒ  } n  x‹ t  | ƒ D]} } | j ƒ  \ } } }	 |  j | t | ƒ ƒ | j ƒ  \ }
 } } |  j | t |
 ƒ ƒ |  j | d k  o$|	 | k ƒ q« W|  j | ƒ |  j | ƒ q! Wq Wi  } |  j t | j ƒ d  S(   Niÿÿÿÿi   i   i   i    (	   R   t   reprRl   t   popitemR   t   intR0   R(   RD   (   R   t   copymodet   log2sizet   sizeR"   R#   R   t   kat   vat   tat   kbt   vbt   tbR+   (    (    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_dict.pyt   test_popitemM  s*    
#c            sl  i  } d \ } } | | | <|  j  t | j d ƒ |  j | j | ƒ | ƒ |  j t | ƒ d ƒ |  j  t | j | ƒ d } d } i d | 6d | 6} |  j | | | | ƒ |  j | j | | ƒ | ƒ | | | <|  j | j | d	 ƒ | ƒ |  j  t | j ƒ d
 t f d „  ƒ  Y‰  d t f ‡  f d †  ƒ  Y} | ƒ  } d | | <t | _	 |  j  ˆ  | j | ƒ d  S(   NR[   t   deft   ghii    l         € I       t   anythings   something elsei   R;   c           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_dict.pyR;   �  s    R@   c              s   e  Z e Z ‡  f d  †  Z RS(   c            s   |  j  r ˆ  ƒ  ‚ n d Sd  S(   Ni*   (   RA   (   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_dict.pyR=   …  s    	(   R>   R?   R    RA   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_dict.pyR@   ƒ  s   i*   (   R[   RŒ   (
   R(   RD   t   popR   R7   R)   RE   RC   R   RA   (   R   R+   R
   R   RF   R|   t   hR@   (    (   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_dict.pyt   test_poph  s*    

	
	c      	   C   sI   i  } d | d <|  j  t ƒ �$ x | D] } d | | d <q' WWd  QXd  S(   Ni   (   R(   t   RuntimeError(   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_dict.pyt   test_mutatingiteration�  s
    
c            s»   i  } |  j  t | ƒ d ƒ d | d <|  j  t | ƒ d ƒ i  } | | d <|  j  t | ƒ d ƒ d t f d „  ƒ  Y‰  d t f ‡  f d	 †  ƒ  Y} i | ƒ  d 6} |  j ˆ  t | ƒ d  S(
   Ns   {}i   i   s   {1: 2}s
   {1: {...}}R;   c           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_dict.pyR;   ¡  s    t   BadReprc              s   e  Z ‡  f d  †  Z RS(   c            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_dict.pyt   __repr__¤  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_dict.pyR”   £  s   (   R   R   RE   RC   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_dict.pyt	   test_repr˜  s    

c         C   sK   i  } x+ t  t j ƒ  d ƒ D] } i | d 6} q W|  j t t | ƒ d  S(   Nid   i   (   R   t   syst   getrecursionlimitR(   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_dict.pyt   test_repr_deepª  s    c            s§   |  j  i  i  k  ƒ |  j  i d d 6i d d 6k  ƒ d t f d „  ƒ  Y‰  d t f ‡  f d †  ƒ  Y} i d | ƒ  6} i d d 6} |  j ˆ  ƒ � | | k  Wd  QXd  S(	   Ni   i   l    l    R;   c           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_dict.pyR;   ´  s    t   BadCmpc              s    e  Z ‡  f d  †  Z d „  Z RS(   c            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_dict.pyR<   ·  s    c         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_dict.pyR=   ¹  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_dict.pyRš   ¶  s   (   R0   RE   RC   R(   (   R   Rš   t   d1t   d2(    (   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_dict.pyt   test_le°  s    !c   
      C   sÁ  |  j  t t d ƒ ƒ |  j  t i  d ƒ ƒ d t f d „  ƒ  Y} | i d d 6d d 6ƒ } |  j | d d ƒ |  j | d d ƒ |  j d | ƒ |  j d | j ƒ  ƒ |  j | d d ƒ d	 t f d
 „  ƒ  Y} | ƒ  } |  j t ƒ � } | d Wd  QX|  j | j j	 d ƒ d t f d „  ƒ  Y} | ƒ  } |  j t
 ƒ � } | d Wd  QX|  j | j j	 d ƒ d t f d „  ƒ  Y} | ƒ  }	 |  j t
 ƒ � } |	 d Wd  QX|  j | j j	 d ƒ d  S(   Nt   __missing__t   Dc           B   s   e  Z d  „  Z RS(   c         S   s   d S(   Ni*   (    (   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_dict.pyRž   Ì  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_dict.pyRŸ   Ë  s   i   i   i   i   i*   t   Ec           B   s   e  Z d  „  Z RS(   c         S   s   t  | ƒ ‚ d  S(   N(   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_dict.pyRž   Ö  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_dict.pyR    Õ  s   t   Fc           B   s   e  Z d  „  Z RS(   c         S   s   d „  |  _  d  S(   Nc         S   s   d  S(   N(   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_dict.pyt   <lambda>à  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_dict.pyRK   Þ  s    (   R>   R?   RK   (    (    (    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_dict.pyR¡   Ý  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_dict.pyR£   æ  s   (   i*   (   i*   (   i*   (   R0   t   hasattrR   R   R4   R$   R(   R’   t	   exceptiont   argsRD   (
   R   RŸ   R+   R    t   eR3   R¡   t   fR£   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_dict.pyt   test_missingÂ  s0    			c         C   s@   i  } |  j  t ƒ � } | d Wd  QX|  j | j j d ƒ d  S(   Ni   (   i   (   i   (   (   i   (   R(   RD   R   R¥   R¦   (   R   R+   R3   (    (    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_dict.pyt   test_tuple_keyerrorí  s    c            sŸ   d e  f d „  ƒ  Y‰  d d ‡  f d †  ƒ  Y} i  } | ƒ  } | ƒ  } d | | <xG d d d d	 d
 d d d g D]' } |  j ˆ  ƒ � | e ƒ  UWd  QXqp Wd  S(   Nt   CustomExceptionc           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_dict.pyR«   ö  s   t
   BadDictKeyc              s    e  Z d  „  Z ‡  f d †  Z RS(   c         S   s   t  |  j ƒ S(   N(   t   hasht	   __class__(   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_dict.pyR=   ú  s    c            s   t  | |  j ƒ r ˆ  ‚ n  | S(   N(   t
   isinstanceR®   (   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_dict.pyt   __cmp__ý  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_dict.pyR¬   ù  s   	i   s	   d[x2] = 2s	   z = d[x2]s   x2 in ds   d.has_key(x2)s	   d.get(x2)s   d.setdefault(x2, 42)s	   d.pop(x2)s   d.update({x2: 2})(    (   RE   R(   t   locals(   R   R¬   R+   t   x1t   x2t   stmt(    (   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_dict.pyt   test_bad_keyô  s     			
c         C   sm   i  } x t  d ƒ D] } | | | <q Wx t  d ƒ D] } | | =q4 Wx! t  d d ƒ D] } | | | <qU Wd  S(   Ni   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_dict.pyt   test_resize1  s    c            s€   d t  f ‡  ‡ f d †  ƒ  Y} i  ‰  t ‰ d ˆ  | ƒ  <d ˆ  | ƒ  <d ˆ  | ƒ  <d ˆ  | ƒ  <d ˆ  | ƒ  <t ‰ d ˆ  d	 <d  S(
   Nt   Xc              s#   e  Z d  „  Z ‡  ‡ f d †  Z RS(   c         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_dict.pyR=   &  s    c            s   ˆ r ˆ  j  ƒ  n  t S(   N(   RH   R    (   R   R:   (   R+   t   resizing(    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_dict.pyR<   (  s    (   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_dict.pyR·   %  s   	i   i   i   i   i   i   i	   (   RC   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_dict.pyt   test_resize2!  s    c         C   sb   |  j  t ƒ �G i d d d 6d  d 6d  d 6d  d 6d  d 6d  d 6d  d	 6d  d
 6} Wd  QXi  } d  S(   Ni   i    R"   R#   R3   R+   R§   R¨   R\   R�   (   R(   t   ZeroDivisionErrorR*   (   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_dict.pyt$   test_empty_presized_dict_in_freelist7  s    *c         C   s�   d t  f d „  ƒ  Y} t j t j t j f } xh | D]` } | ƒ  } t j | ƒ } i d | 6} | | ƒ | _ ~ ~ t j	 ƒ  |  j
 | ƒ  d  d ƒ q5 Wd  S(   Nt   Cc           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_dict.pyR¼   A  s   i   s   Cycle was not collected(   RC   R   t	   iteritemst
   itervaluest   iterkeyst   weakreft   refRF   t   gct   collectR   R*   (   R   R¼   t	   iteratorsR   t   objRÁ   t	   container(    (    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_dict.pyt   test_container_iterator?  s    	
c         C   s1   t  j ƒ  t  j ƒ  |  j t  j | ƒ | ƒ d  S(   N(   RÂ   RÃ   R0   t
   is_tracked(   R   t   t(    (    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_dict.pyt   _not_trackedM  s    

c         C   sJ   |  j  t j | ƒ | ƒ t j ƒ  t j ƒ  |  j  t j | ƒ | ƒ d  S(   N(   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_dict.pyt   _trackedS  s    

c         C   s   d d d g  f \ } } } } |  j i  ƒ |  j i d | 6| | 6d | 6ƒ |  j i d d 6d d 6ƒ |  j i d d 6t d  t t d f 6ƒ |  j i t ƒ  d 6ƒ |  j i g  d 6ƒ |  j i g  f d 6ƒ |  j i i  d 6ƒ |  j i t ƒ  d 6ƒ d  S(	   Ng      ø?R"   i   i   R#   (   i   N(    (    (   R*   RÊ   R�   R   R    RC   RË   R%   (   R   RF   R|   RR   t   w(    (    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_dict.pyt   test_track_literalsY  s    "'c   	   	   C   sH  d t  f d „  ƒ  Y} d d d t  ƒ  f g  | ƒ  f \ } } } } } t ƒ  } |  j | ƒ d | d <|  j | ƒ d | | <|  j | ƒ d | | <|  j | ƒ |  j | j ƒ  ƒ | | d <|  j | ƒ |  j | j ƒ  ƒ d  | d <|  j | ƒ |  j | j ƒ  ƒ t ƒ  } t ƒ  } | | d <|  j | ƒ |  j | ƒ | | d <|  j | ƒ t j | | | g ƒ } |  j | ƒ t ƒ  } | j | ƒ |  j | ƒ t j | | | | g ƒ } |  j | ƒ t ƒ  } | j | ƒ |  j | ƒ t d	 | d
 | d | ƒ } |  j | ƒ t d	 | d
 | d | d | ƒ } |  j | ƒ t ƒ  } | j d	 | d
 | d | ƒ |  j | ƒ | j d | ƒ |  j | ƒ t | | f | d f g ƒ } |  j | ƒ t | | f | | f g ƒ } |  j | ƒ t ƒ  } | j | | f | d f g ƒ |  j | ƒ | j | | f | | f g ƒ |  j | ƒ d  S(   Nt   MyObjectc           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_dict.pyRÎ   n  s   g      ø?R"   i   i   i   i   RF   R|   RR   RÌ   (   RC   R   RÊ   Rl   RË   R*   Ri   RW   (	   R   RÎ   RF   R|   RR   RÌ   t   oR+   t   dd(    (    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_dict.pyt   test_track_dynamick  sh    0	




		

		!		c         C   s*   d t  f d „  ƒ  Y} |  j | ƒ  ƒ d  S(   Nt   MyDictc           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_dict.pyRÒ   ®  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_dict.pyt   test_track_subtypes«  s    c         C   s›   t  j |  t t ƒ t  j |  d „  t ƒ t  j |  d „  t ƒ t  j |  d „  t ƒ t  j |  d „  t ƒ t  j |  d „  t ƒ t  j |  d „  t ƒ d  S(   Nc         S   s
   |  j  ƒ  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_dict.pyR¢   µ  R   c         S   s
   |  j  ƒ  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_dict.pyR¢   ¶  R   c         S   s
   |  j  ƒ  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_dict.pyR¢   ·  R   c         S   s   t  |  j ƒ  ƒ S(   N(   t   itert   viewkeys(   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_dict.pyR¢   ¸  R   c         S   s   t  |  j ƒ  ƒ S(   N(   RÔ   t
   viewvalues(   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_dict.pyR¢   ¹  R   c         S   s   t  |  j ƒ  ƒ S(   N(   RÔ   t	   viewitems(   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_dict.pyR¢   º  R   (   R    t   check_free_after_iteratingRÔ   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_dict.pyt   test_free_after_iterating³  s    c            sY   d t  f ‡  ‡ f d †  ƒ  Y} i d | ƒ  6‰  i | ƒ  | ƒ  6‰ |  j ˆ  ˆ k ƒ d  S(   NR·   c              s/   e  Z ‡ f d  †  Z ‡  f d †  Z d „  Z RS(   c            s   ˆ  j  ƒ  d  S(   N(   RH   (   R   (   t   dict_b(    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_dict.pyt   __del__¿  s    c            s   ˆ  j  ƒ  t S(   N(   RH   R   (   R   R:   (   t   dict_a(    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_dict.pyR<   Â  s    
c         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_dict.pyR=   Æ  s    (   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_dict.pyR·   ¾  s   i    (   RC   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_dict.pyt%   test_equal_operator_modifying_operand¼  s    c            sk   d t  f ‡  f d †  ƒ  Y} i  ‰  i d | d ƒ 6d | d ƒ 6‰  y t j ˆ  ƒ Wn t k
 rf n Xd  S(   NR·   c              s    e  Z d  „  Z ‡  f d †  Z RS(   c         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_dict.pyR=   Ð  s    c            s#   t  ˆ  ƒ d k r ˆ  j ƒ  n  t S(   Ni   (   R7   RH   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_dict.pyR<   Ó  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_dict.pyR·   Ï  s   	i   i   (   R�   R   Ri   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_dict.pyt-   test_fromkeys_operator_modifying_dict_operandÍ  s    	 c            sc   d t  f ‡  f d †  ƒ  Y} i  ‰  | d ƒ | d ƒ h ‰  y t j ˆ  ƒ Wn t k
 r^ n Xd  S(   NR·   c              s    e  Z d  „  Z ‡  f d †  Z RS(   c         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_dict.pyR=   â  s    c            s#   t  ˆ  ƒ d k r ˆ  j ƒ  n  t S(   Ni   (   R7   RH   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_dict.pyR<   å  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_dict.pyR·   á  s   	i   i   (   R�   R   Ri   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_dict.pyt,   test_fromkeys_operator_modifying_set_operandß  s    	c            sa   d t  f ‡  f d †  ƒ  Y} i t ƒ  d 6‰  y d | ƒ  f ˆ  j ƒ  k Wn t k
 r\ n Xd  S(   NR·   c              s    e  Z ‡  f d  †  Z e j Z RS(   c            s   ˆ  j  ƒ  t S(   N(   RH   t   NotImplemented(   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_dict.pyR<   ó  s    
(   R>   R?   R<   RC   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_dict.pyR·   ò  s   i    (   RC   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_dict.pyt&   test_dictitems_contains_use_after_freeñ  s    c            s<   d t  f ‡  f d †  ƒ  Y} | ƒ  d g ‰  t ˆ  g ƒ d  S(   NR·   c              s   e  Z ‡  f d  †  Z RS(   c            s   g  ˆ  (d S(   Ni   (    (   R   (   t   pair(    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_dict.pyR=     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_dict.pyR·      s   i{   (   RC   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_dict.pyt   test_init_use_after_freeÿ  s    c            s[   d t  f ‡ f d †  ƒ  Y‰  ‡  f d †  t d ƒ Dƒ ‰ ‡ f d †  } |  j t | ƒ d  S(   NR·   c              s   e  Z ‡  f d  †  Z RS(   c            s   ˆ  j  ƒ  d  S(   N(   RH   (   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_dict.pyRÛ   
  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_dict.pyR·   	  s   c            s   i  |  ] } ˆ  | ƒ | “ q 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_dict.pys
   <dictcomp>  s   	 i   c             s8   x1 ˆ  j  ƒ  D]# }  |  d d k r d  ˆ  d <q q Wd  S(   Ni    i   (   R½   R*   (   t   result(   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_dict.pyt   iter_and_mutate  s    (   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_dict.pyt'   test_oob_indexing_dictiter_iternextitem  s    (.   R>   R?   R   R   R!   R,   R.   R/   R2   R6   R8   RG   RI   RZ   Ro   Rp   Rr   Rv   R~   R‹   R‘   R“   R–   R™   R�   R©   Rª   Rµ   R¶   R¹   R»   RÇ   RÊ   RË   R    t   cpython_onlyRÍ   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_dict.pyR   	   sT   								
			&		L	:						(					+								@								(   t   mapping_testst   GeneralMappingTestsc           B   s   e  Z e Z RS(    (   R>   R?   R   t	   type2test(    (    (    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_dict.pyRé     s   t   Dictc           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_dict.pyRë     s   t   SubclassMappingTestsc           B   s   e  Z e Z RS(    (   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_dict.pyRì     s   c           C   s3   t  j d t f ƒ � t  j t t t ƒ Wd  QXd  S(   Ns=   dict(.has_key..| inequality comparisons) not supported in 3.x(   R    t   check_py3k_warningst   DeprecationWarningt   run_unittestR   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_dict.pyt	   test_main"  s    t   __main__(   t   unittestt   testR    R_   R   R   RÂ   RÀ   R—   t   TestCaseR   Rè   t   BasicTestMappingProtocolRé   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_dict.pyt   <module>   s   $ÿ ÿ ÿ 	
