ó
ŠwÛjc           @   s’  d  d l  Z  d  d l Z d  d l m Z d d$ d „  ƒ  YZ d d% d „  ƒ  YZ d d& d „  ƒ  YZ d	 d' d
 „  ƒ  YZ d d( d „  ƒ  YZ d d) d „  ƒ  YZ	 d e  j
 f d „  ƒ  YZ d e f d „  ƒ  YZ d e f d „  ƒ  YZ d e f d „  ƒ  YZ d e f d „  ƒ  YZ d e  j
 f d „  ƒ  YZ d e f d „  ƒ  YZ d e f d „  ƒ  YZ d e f d  „  ƒ  YZ d d! „ Z e d" k rŽe d# e ƒ n  d S(*   iÿÿÿÿN(   t   test_supportt   Gc           B   s    e  Z d  Z d „  Z d „  Z RS(   s   Sequence using __getitem__c         C   s   | |  _  d  S(   N(   t   seqn(   t   selfR   (    (    s‰   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_enumerate.pyt   __init__   s    c         C   s   |  j  | S(   N(   R   (   R   t   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_enumerate.pyt   __getitem__
   s    (   t   __name__t
   __module__t   __doc__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_enumerate.pyR      s   	t   Ic           B   s)   e  Z d  Z d „  Z d „  Z d „  Z RS(   s    Sequence using iterator protocolc         C   s   | |  _  d |  _ 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_enumerate.pyR      s    	c         C   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_enumerate.pyt   __iter__   s    c         C   sD   |  j  t |  j ƒ k r! t ‚ n  |  j |  j  } |  j  d 7_  | S(   Ni   (   R   t   lenR   t   StopIteration(   R   t   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_enumerate.pyt   next   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_enumerate.pyR
      s   		t   Igc           B   s    e  Z d  Z d „  Z d „  Z RS(   s9   Sequence using iterator protocol defined with a generatorc         C   s   | |  _  d |  _ 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_enumerate.pyR      s    	c         c   s   x |  j  D] } | Vq
 Wd  S(   N(   R   (   R   t   val(    (    s‰   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_enumerate.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_enumerate.pyR      s   	t   Xc           B   s    e  Z d  Z d „  Z d „  Z RS(   s    Missing __getitem__ and __iter__c         C   s   | |  _  d |  _ 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_enumerate.pyR   %   s    	c         C   sD   |  j  t |  j ƒ k r! t ‚ n  |  j |  j  } |  j  d 7_  | S(   Ni   (   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_enumerate.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_enumerate.pyR   #   s   	t   Ec           B   s)   e  Z d  Z d „  Z d „  Z d „  Z RS(   s   Test propagation of exceptionsc         C   s   | |  _  d |  _ 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_enumerate.pyR   0   s    	c         C   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_enumerate.pyR   3   s    c         C   s   d d d  S(   Ni   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_enumerate.pyR   5   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_enumerate.pyR   .   s   		t   Nc           B   s    e  Z d  Z d „  Z d „  Z RS(   s   Iterator missing next()c         C   s   | |  _  d |  _ 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_enumerate.pyR   :   s    	c         C   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_enumerate.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_enumerate.pyR   8   s   	t   EnumerateTestCasec           B   s~   e  Z e Z d  d d d g Z Z d „  Z d „  Z d	 „  Z d
 „  Z	 d „  Z
 d „  Z d „  Z d „  Z e j d „  ƒ Z RS(   t   abci    t   ai   t   bi   t   cc         C   s€   |  j  t |  j |  j ƒ ƒ |  j ƒ |  j |  j ƒ } |  j  t | ƒ | ƒ |  j  t |  j |  j ƒ ƒ |  j ƒ |  j j d  S(   N(   t   assertEqualt   typet   enumt   seqt   itert   listt   resR	   (   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_enumerate.pyt   test_basicfunctionE   s
    %%c         C   sW   |  j  t |  j t |  j ƒ ƒ ƒ |  j ƒ |  j t d ƒ ƒ } |  j t | j ƒ d  S(   Nt    (	   R   R   R   R   R   R    t   assertRaisesR   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_enumerate.pyt   test_getitemseqnL   s    +c         C   sW   |  j  t |  j t |  j ƒ ƒ ƒ |  j ƒ |  j t d ƒ ƒ } |  j t | j ƒ d  S(   NR#   (	   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_enumerate.pyt   test_iteratorseqnQ   s    +c         C   sW   |  j  t |  j t |  j ƒ ƒ ƒ |  j ƒ |  j t d ƒ ƒ } |  j t | j ƒ d  S(   NR#   (	   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_enumerate.pyt   test_iteratorgeneratorV   s    +c         C   s#   |  j  t |  j t |  j ƒ ƒ d  S(   N(   R$   t	   TypeErrorR   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_enumerate.pyt   test_noniterable[   s    c         C   s)   |  j  t t |  j t |  j ƒ ƒ ƒ d  S(   N(   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_enumerate.pyt   test_illformediterable^   s    c         C   s)   |  j  t t |  j t |  j ƒ ƒ ƒ d  S(   N(   R$   t   ZeroDivisionErrorR   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_enumerate.pyt   test_exception_propagationa   s    c         C   sb   |  j  t |  j ƒ |  j  t |  j d ƒ |  j  t |  j d d ƒ |  j  t |  j d d d ƒ d  S(   Ni   R   R   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_enumerate.pyt   test_argumentcheckd   s    c         C   s�   |  j  t t t t t t |  j ƒ ƒ ƒ ƒ ƒ t |  j ƒ ƒ |  j  t t t t t |  j ƒ ƒ ƒ ƒ t d t |  j ƒ ƒ ƒ d  S(   Ni   (	   R   R   t   sett   mapt   idR   t	   enumerateR   t   min(   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_enumerate.pyt   test_tuple_reusej   s    =(   i    R   (   i   R   (   i   R   (   R   R   R1   R   R   R    R"   R%   R&   R'   R)   R*   R,   R-   R    t   cpython_onlyR3   (    (    (    s‰   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_enumerate.pyR   @   s   								t   MyEnumc           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_enumerate.pyR5   q   s   t   SubclassTestCasec           B   s   e  Z e Z RS(    (   R   R   R5   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_enumerate.pyR6   t   s   t	   TestEmptyc           B   s   e  Z d  g  Z Z RS(   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_enumerate.pyR7   x   s   t   TestBigc           B   s/   e  Z e d  d d ƒ Z e e d ƒ e ƒ Z RS(   i
   i N  i   (   R   R   t   rangeR   t   zipR    (    (    (    s‰   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_enumerate.pyR8   |   s   t   TestReversedc           B   st   e  Z d  „  Z d „  Z d „  Z e j d „  ƒ Z d „  Z d „  Z	 e
 j e e d ƒ d ƒ d „  ƒ Z d	 „  Z RS(
   c         C   s³   d d	 d „  ƒ  Y} xm d t  d ƒ t t d ƒ ƒ | ƒ  t d d d ƒ f D]5 } |  j t | ƒ d  d  d … t t | ƒ ƒ ƒ qJ W|  j t t i  ƒ |  j t t g  d d ƒd  S(
   Nt   Ac           B   s   e  Z d  „  Z d „  Z RS(   c         S   s    | d k  r t  | ƒ St ‚ d  S(   Ni   (   t   strR   (   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_enumerate.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_enumerate.pyt   __len__‰   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_enumerate.pyR<   „   s   	R   i   i   i   iÿÿÿÿR   (    (	   R9   t   tupleR1   t   xrangeR   R   t   reversedR$   R(   (   R   R<   t   data(    (    s‰   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_enumerate.pyt   test_simpleƒ   s
    =3c         C   s<   d d d „  ƒ  Y} |  j  t t | ƒ  ƒ ƒ d d g ƒ d  S(   NR<   c           B   s   e  Z d  „  Z RS(   c         S   s
   d d g S(   Ni   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_enumerate.pyt   __reversed__“   s    (   R   R   RD   (    (    (    s‰   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_enumerate.pyR<   ’   s   i   i   (    (   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_enumerate.pyt   test_classic_class‘   s    c         C   s8   t  d ƒ } |  j t t | ƒ ƒ t t | ƒ ƒ ƒ d  S(   Ni   (   R@   R   R   RA   R   (   R   t   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_enumerate.pyt   test_xrange_optimization—   s    c         C   sÆ   d d l  m } xz d t d ƒ t d ƒ t d ƒ f D]T } |  j | t | ƒ ƒ | | ƒ ƒ t | ƒ } t | ƒ |  j | | ƒ d ƒ q5 Wd d d „  ƒ  Y} t | ƒ  ƒ } |  j t | | ƒ d  S(	   Niÿÿÿÿ(   R   t   helloi   i    t   SeqWithWeirdLenc           B   s    e  Z e Z d  „  Z d „  Z RS(   c         S   s    |  j  s t |  _  d St ‚ d  S(   Ni
   (   t   calledt   TrueR+   (   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_enumerate.pyR>   ¦   s    		c         S   s   | S(   N(    (   R   t   index(    (    s‰   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_enumerate.pyR   «   s    (   R   R   t   FalseRJ   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_enumerate.pyRI   ¤   s   	(    (	   t   test.test_iterlenR   R?   R   R@   R   RA   R$   R+   (   R   R   t   st   rRI   (    (    s‰   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_enumerate.pyt   test_len›   s    +"
	c         C   s5   d d d „  ƒ  Y} | ƒ  } t  | ƒ } | | _ d  S(   Nt   Seqc           B   s   e  Z d  „  Z 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_enumerate.pyR>   ³   s    c         S   s   | S(   N(    (   R   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_enumerate.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_enumerate.pyRR   ²   s   	(    (   RA   RP   (   R   RR   RO   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_enumerate.pyt   test_gc±   s    	c         C   s*   |  j  t t ƒ |  j  t t g  d ƒ d  S(   Nt   extra(   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_enumerate.pyt	   test_args»   s    t   getrefcounts   test needs sys.getrefcount()c         C   s‹   d „  } t  ƒ  } | _ t j | ƒ } xC t d ƒ D]5 } y t | ƒ Wn t k
 r\ q5 X|  j d ƒ q5 W|  j | t j | ƒ ƒ 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_enumerate.pyt   fÃ   s    i
   s'   non-callable __reversed__ didn't raise!(	   t   objectRD   t   sysRV   R9   RA   R(   t   failR   (   R   RW   RP   t   rcR   (    (    s‰   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_enumerate.pyt   test_bug1229429¿   s    	c         C   sh   d t  f d „  ƒ  Y} | ƒ  } |  j t t | ƒ d t  f d „  ƒ  Y} | ƒ  } |  j t t | ƒ d  S(   Nt   NoLenc           B   s   e  Z 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_enumerate.pyR   Ó   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_enumerate.pyR]   Ò   s   t	   NoGetItemc           B   s   e  Z 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_enumerate.pyR>   Ø   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_enumerate.pyR^   ×   s   (   RX   R$   R(   RA   (   R   R]   t   nlR^   t   ngi(    (    s‰   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_enumerate.pyt   test_objmethodsÐ   s    		(   R   R   RC   RE   RG   R    R4   RQ   RS   RU   t   unittestt
   skipUnlesst   hasattrRY   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_enumerate.pyR;   �   s   				
	$t   EnumerateStartTestCasec           B   s   e  Z d  „  Z RS(   c         C   sQ   |  j  |  j ƒ } |  j t | ƒ | ƒ |  j t |  j  |  j ƒ ƒ |  j ƒ d  S(   N(   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_enumerate.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_enumerate.pyRe   Ý   s   t	   TestStartc           B   s'   e  Z d  „  Z d d d	 d
 g Z Z RS(   c         C   s   t  | d d ƒS(   Nt   starti   (   R1   (   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_enumerate.pyt   <lambda>ç   R#   R   i   R   i   R   i   R   (   i   R   (   i   R   (   i   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_enumerate.pyRf   å   s   	t   TestLongStartc           B   sN   e  Z d  „  Z d e j d d f e j d d f e j d d f g Z Z RS(   c         C   s   t  | d t j d ƒS(   NRg   i   (   R1   RY   t   maxint(   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_enumerate.pyRh   í   R#   R   i   R   i   R   i   R   (   R   R   R   RY   Rj   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_enumerate.pyRi   ë   s   	#c         C   su   t  j t ƒ |  rq t t d ƒ rq d  g d } x7 t t | ƒ ƒ D]# } t  j t ƒ t j ƒ  | | <qB W| GHn  d  S(   Nt   gettotalrefcounti   (	   R    t   run_unittestR   Rd   RY   t   NoneR@   R   Rk   (   t   verboset   countsR   (    (    s‰   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_enumerate.pyt	   test_mainò   s    t   __main__Rn   (    (    (    (    (    (    (   Rb   RY   t   testR    R   R
   R   R   R   R   t   TestCaseR   R1   R5   R6   R7   R8   R;   Re   Rf   Ri   Rm   Rp   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_enumerate.pyt   <module>   s(   	
1\