ó
ŠwÛjc           @   sH  d  d l  m Z d  d l m Z m Z m Z m Z m Z d  d l Z d  d l	 Z	 d  d l
 Z
 d  d l Z e j r� e j d k r† d n d Z n d Z d e j f d	 „  ƒ  YZ d
 e j f d „  ƒ  YZ d e j f d „  ƒ  YZ d e j f d „  ƒ  YZ d „  Z e d k rDe e j ƒ d k r:e j e j d ƒ n  e ƒ  n  d S(   iÿÿÿÿ(   t   test_support(   t
   bigmemtestt   _1Gt   _2Gt   _4Gt   precisionbigmemtestNiÿÿ  i   i   i   t   StrTestc           B   sú  e  Z e d  e d d ƒ d „  ƒ Z e d  e d d d ƒ d „  ƒ Z e j e d e d d e	 ƒ d „  ƒ ƒ Z
 e d  e d d ƒ d	 „  ƒ Z e j e d  e d d d e	 ƒ d
 „  ƒ ƒ Z d dD d „ Z e j e d  e d d e	 d ƒ d „  ƒ ƒ Z e j e d e d d d e	 d ƒ d „  ƒ ƒ Z e j e d e d d d e	 d ƒ d „  ƒ ƒ Z e j e d e d d d e	 d ƒ d „  ƒ ƒ Z e j e d e d d d ƒ d „  ƒ ƒ Z e d  e d d ƒ d „  ƒ Z e d  e d d d ƒ d „  ƒ Z e d  e d d ƒ d „  ƒ Z e d  e d d ƒ d „  ƒ Z e d  e d d ƒ d „  ƒ Z e d  e d d ƒ d „  ƒ Z e d  e d d ƒ d „  ƒ Z e d  e d d ƒ d „  ƒ Z e d  e d d ƒ d „  ƒ Z e d  e d d ƒ d  „  ƒ Z e d  e d d ƒ d! „  ƒ Z e d  e d d ƒ d" „  ƒ Z  e d  e d d d ƒ d# „  ƒ Z! e d  e d d d ƒ d$ „  ƒ Z" e d  e d d d ƒ d% „  ƒ Z# e d  e d d d ƒ d& „  ƒ Z$ e d  e d d ƒ d' „  ƒ Z% e d  e d d ƒ d( „  ƒ Z& e d  e d d d ƒ d) „  ƒ Z' e d  e d d d ƒ d* „  ƒ Z( e d  e d d+ ƒ d, „  ƒ Z) e d  e d d d ƒ d- „  ƒ Z* e d  e d d+ ƒ d. „  ƒ Z+ e d  e d d ƒ d/ „  ƒ Z, e d  e d d ƒ d0 „  ƒ Z- e d  e d d ƒ d1 „  ƒ Z. e d  e d d ƒ d2 „  ƒ Z/ e d  e d d ƒ d3 „  ƒ Z0 e d  e d d d ƒ d4 „  ƒ Z1 e d  e d5 d d ƒ d6 „  ƒ Z2 e d  e d d d ƒ d7 „  ƒ Z3 e d  e d d d ƒ d8 „  ƒ Z4 e d  e d d d ƒ d9 „  ƒ Z5 e j e d  dF d e	 d ƒ d; „  ƒ ƒ Z6 e j e d e d d d e	 d ƒ d< „  ƒ ƒ Z7 e d  e8 d d d= ƒ d> „  ƒ Z9 e d  e8 d d d= ƒ d? „  ƒ Z: e d  e d5 d d ƒ d@ „  ƒ Z; e d  e d d ƒ dA „  ƒ Z< e d  e d d d ƒ dB „  ƒ Z= e d  e d d d ƒ dC „  ƒ Z> RS(G   t   minsizet   memusei   c         C   s^   d } d | | } | j  ƒ  } |  j | t | ƒ | j  ƒ  ƒ |  j | j d ƒ | ƒ d  S(   Ns    abc def ghit   -(   t
   capitalizet   assertEqualt   lent   lstrip(   t   selft   sizet   SUBSTRt   st   caps(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyt   test_capitalize*   s    i
   i   c         C   sž   d } | j  | ƒ } |  j t | ƒ | ƒ t | ƒ t | ƒ d } } t | ƒ d rf | d 7} n  |  j | | | !| ƒ |  j | j ƒ  | j ƒ  ƒ d  S(   Ns    abc def ghii   i   (   t   centerR   R   t   strip(   R   R   R   R   t   lpadsizet   rpadsize(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyt   test_center3   s    R   c         C   s¹   d } y | j  | ƒ } Wn t k
 r, n‰ X|  j t | ƒ | ƒ t | ƒ t | ƒ d } } t | ƒ d r~ | d 7} n  |  j | | | !| ƒ |  j | j ƒ  | j ƒ  ƒ ~ d  S(   Nu    abc def ghii   i   (   R   t   OverflowErrorR   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_bigmem.pyt   test_center_unicode>   s    c         C   s£   d } d | | } |  j  | j d ƒ | ƒ | d 7} |  j  | j d ƒ | d ƒ |  j  | j d ƒ d ƒ |  j  | j d ƒ d ƒ |  j  | j d ƒ d ƒ d  S(	   Ns    abc def ghit   .i   t    i   t   it   ji    (   R   t   count(   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_bigmem.pyt
   test_countO   s    
c         C   s-   d | } |  j  t | j d ƒ ƒ | ƒ d  S(   NR   s   utf-8(   R   R   t   decode(   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_bigmem.pyt   test_decodeZ   s    
u   .c         C   sB   | d  k r | } n  | | } |  j t | j | ƒ ƒ | ƒ d  S(   N(   t   NoneR   R   t   encode(   R   R   t   enct   ct   expectedsizeR   (    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyt   basic_encode_test`   s    	
i   c         C   s   |  j  | d ƒ d  S(   Ns   utf-8(   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_bigmem.pyt   test_encodeg   s    i   c         C   s   |  j  | d ƒ d  S(   Nt   raw_unicode_escape(   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_bigmem.pyt   test_encode_raw_unicode_escapel   s    i   iF   i   c         C   s   |  j  | d ƒ d  S(   Nt   utf7(   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_bigmem.pyt   test_encode_utf7q   s    c         C   s"   |  j  | d d d | d ƒd  S(   Nt   utf32R'   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_bigmem.pyt   test_encode_utf32v   s    c         C   s   |  j  | d d d ƒd  S(   Nt   asciiR&   t   A(   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_bigmem.pyt   test_decodeascii{   s    c         C   s”   d } d | | } |  j  | j | ƒ ƒ |  j  | j | ƒ ƒ d | } |  j  | j | ƒ ƒ |  j | j d | ƒ ƒ |  j | j | ƒ ƒ d  S(   Ns    abc def ghiR	   s   ...t   a(   t
   assertTruet   endswitht   assertFalse(   R   R   R   R   t   s2(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyt   test_endswith€   s    
c         C   s”   d | } d } |  j  | j ƒ  | ƒ ~ t | | ƒ \ } } d | } | j | ƒ } |  j  t | ƒ | | ƒ |  j  t | j d ƒ ƒ d ƒ d  S(   NR	   i   s          	R   i    (   R   t
   expandtabst   divmodR   R   (   R   R   R   t   tabsizet   slent	   remainder(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyt   test_expandtabs‹   s    

c         C   s?  d } t  | ƒ } d j | d | | g ƒ } |  j | j d ƒ d ƒ |  j | j | ƒ d ƒ |  j | j d | ƒ | | ƒ |  j | j | t  | ƒ ƒ | | ƒ |  j | j d ƒ | j d ƒ ƒ |  j | j d | ƒ | | | j d ƒ ƒ |  j | j d | ƒ | | | j d ƒ ƒ |  j | j d ƒ d ƒ d  S(	   Ns    abc def ghit    R	   R   i    R   R   iÿÿÿÿ(   R   t   joinR   t   find(   R   R   R   t   sublenR   (    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyt	   test_find—   s     &"c         C   s6  d } t  | ƒ } d j | d | | g ƒ } |  j | j d ƒ d ƒ |  j | j | ƒ d ƒ |  j | j d | ƒ | | ƒ |  j | j | | ƒ | | ƒ |  j | j d ƒ | j d ƒ ƒ |  j | j d | ƒ | | | j d ƒ ƒ |  j | j d | ƒ | | | j d ƒ ƒ |  j t | j d ƒ d  S(   Ns    abc def ghiR?   R	   R   i    R   R   (   R   R@   R   t   indext   assertRaisest
   ValueError(   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_bigmem.pyt
   test_index§   s      "c         C   sH   d } d | | } |  j  | j ƒ  ƒ | d 7} |  j | j ƒ  ƒ d  S(   Nt   123456R3   R   (   R4   t   isalnumR6   (   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_bigmem.pyt   test_isalnum·   s
    
c         C   sH   d } d | | } |  j  | j ƒ  ƒ | d 7} |  j | j ƒ  ƒ d  S(   Nt   zzzzzzzR3   R   (   R4   t   isalphaR6   (   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_bigmem.pyt   test_isalpha¿   s
    
c         C   sH   d } d | | } |  j  | j ƒ  ƒ | d 7} |  j | j ƒ  ƒ d  S(   NRH   t   9t   z(   R4   t   isdigitR6   (   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_bigmem.pyt   test_isdigitÇ   s
    
c         C   s’   d j  g  t d ƒ D]$ } t | ƒ j ƒ  s t | ƒ ^ q ƒ } | t | ƒ d } | | } |  j | j ƒ  ƒ | d 7} |  j | j ƒ  ƒ d  S(   NR?   iÿ   i   R1   (   R@   t   ranget   chrt   isupperR   R4   t   islowerR6   (   R   R   R&   t   charst   repeatsR   (    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyt   test_islowerÏ   s    @

c         C   sX   d } | t  | ƒ d } | | } |  j | j ƒ  ƒ | d 7} |  j | j ƒ  ƒ d  S(   Ns    
	i   R   (   R   R4   t   isspaceR6   (   R   R   t
   whitespaceRW   R   (    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyt   test_isspaceØ   s    

c         C   ss   d } d j  d d | | g ƒ } |  j | j ƒ  ƒ | d 7} |  j | j ƒ  ƒ | d 7} |  j | j ƒ  ƒ d  S(   NRH   R?   R1   R3   t   aA(   R@   R4   t   istitleR6   (   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_bigmem.pyt   test_istitleá   s    

c         C   s’   d j  g  t d ƒ D]$ } t | ƒ j ƒ  s t | ƒ ^ q ƒ } | t | ƒ d } | | } |  j | j ƒ  ƒ | d 7} |  j | j ƒ  ƒ d  S(   NR?   iÿ   i   R3   (   R@   RR   RS   RU   R   R4   RT   R6   (   R   R   R&   RV   RW   R   (    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyt   test_isupperë   s    @

c         C   s�   d | } | j  d d g ƒ } |  j | j d ƒ d ƒ |  j | j d ƒ d ƒ |  j | j d ƒ ƒ |  j | j d ƒ ƒ d  S(	   NR1   t   aaaaat   bbbbbR3   i   t   bt   aaaaaAt   Abbbbb(   R@   R   R   R4   t
   startswithR5   (   R   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_bigmem.pyt	   test_joinô   s    
c         C   se   d } | j  | ƒ } |  j | j | d ƒ ƒ |  j t | ƒ | ƒ |  j | j ƒ  | j ƒ  ƒ d  S(   Ns    abc def ghis     (   t   ljustR4   Re   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_bigmem.pyt
   test_ljustý   s
    c         C   sI   d | } | j  ƒ  } |  j t | ƒ | ƒ |  j | j d ƒ | ƒ d  S(   NR1   R3   (   t   lowerR   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_bigmem.pyt
   test_lower  s    
c         C   s’   d } | j  | ƒ } |  j t | ƒ | ƒ |  j | j ƒ  | j ƒ  ƒ ~ | j | ƒ } |  j t | ƒ | ƒ | j ƒ  } |  j | | k ƒ d  S(   Ns   abc def ghi(   t   rjustR   R   R   Rh   R4   (   R   R   R   R   t   stripped(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyt   test_lstrip  s    c         C   s±   d } d | } | j  d | ƒ } |  j t | ƒ | ƒ |  j | j | ƒ | ƒ | j  | d | d ƒ } |  j t | ƒ | ƒ |  j | j | ƒ d ƒ |  j | d d ƒ d  S(   NR3   R   i   iöÿÿÿs
         aaaa(   t   replaceR   R   R   (   R   R   t   replacementR   (    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyt   test_replace  s    
c         C   s[  d } t  | ƒ } d j | d | | g ƒ } |  j | j d ƒ | | | j d ƒ ƒ |  j | j | ƒ | | ƒ |  j | j d d | ƒ | j d ƒ ƒ |  j | j | d | | ƒ d ƒ |  j | j d ƒ | | | j d ƒ ƒ |  j | j d d | ƒ | j d ƒ ƒ |  j | j d d | | ƒ | j d ƒ ƒ |  j | j d ƒ d ƒ d  S(	   Ns    abc def ghiR?   R	   R   i    R   R   iÿÿÿÿ(   R   R@   R   t   rfind(   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_bigmem.pyt
   test_rfind$  s    *(#*(c         C   s`  d } t  | ƒ } d j | d | | g ƒ } |  j | j d ƒ | | | j d ƒ ƒ |  j | j | ƒ | | ƒ |  j | j d d | | d ƒ | j d ƒ ƒ |  j | j | d | | ƒ d ƒ |  j | j d ƒ | | | j d ƒ ƒ |  j | j d d | ƒ | j d ƒ ƒ |  j | j d d | | ƒ | j d ƒ ƒ |  j t | j d ƒ d  S(	   Ns    abc def ghiR?   R	   R   i    i   R   R   (   R   R@   R   t   rindexRE   RF   (   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_bigmem.pyt   test_rindex3  s     #(c         C   se   d } | j  | ƒ } |  j | j | d ƒ ƒ |  j t | ƒ | ƒ |  j | j ƒ  | j ƒ  ƒ d  S(   Ns    abc def ghis     (   Rh   R4   Re   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_bigmem.pyt
   test_rjustE  s
    c         C   s’   d } | j  | ƒ } |  j t | ƒ | ƒ |  j | j ƒ  | j ƒ  ƒ ~ | j | ƒ } |  j t | ƒ | ƒ | j ƒ  } |  j | | k ƒ d  S(   Ns    abc def ghi(   Rh   R   R   t   rstripRl   R4   (   R   R   R   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_bigmem.pyt   test_rstripM  s    gÍÌÌÌÌÌ @c         C   sÃ   t  | d d ƒ } d d | } | | } | j ƒ  } |  j t | ƒ | ƒ |  j t | ƒ t d g ƒ ƒ ~ | j d ƒ } |  j t | ƒ | d ƒ |  j t | ƒ t d d | g ƒ ƒ d  S(   Ng      à?i   R3   R   i   R?   (   t   intt   splitR   R   t   set(   R   R   t	   chunksizeR   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_bigmem.pyt   test_split_small\  s    
c         C   sž   d | d } | j  ƒ  } |  j t | ƒ | ƒ |  j t | ƒ t d g ƒ ƒ ~ | j  d ƒ } |  j t | ƒ | d ƒ |  j t | ƒ t d g ƒ ƒ d  S(   Ns    aR   R3   i   (   Rz   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_bigmem.pyt   test_split_largeq  s    c         C   s‰   t  | d d ƒ d } d | d d | d } | | } | j ƒ  } |  j t | ƒ | d ƒ |  j t | ƒ t d | g ƒ ƒ d  S(   Ng      à?i   R   s   
s   
(   Ry   t
   splitlinesR   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_bigmem.pyt   test_splitlines|  s    
c         C   s^   d } d | | } |  j  | j | ƒ ƒ |  j  | j d | ƒ ƒ |  j | j | ƒ ƒ d  S(   Ns    abc def ghiR	   (   R4   Re   R6   (   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_bigmem.pyt   test_startswith‡  s
    c         C   s�   d } | j  | ƒ } |  j t | ƒ | ƒ |  j | j ƒ  | j ƒ  ƒ ~ | j | ƒ } |  j t | ƒ | ƒ |  j | j ƒ  | j ƒ  ƒ d  S(   Ns      abc def ghi   (   Rl   R   R   R   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_bigmem.pyt
   test_strip�  s    c         C   s™   d } t  | ƒ } | | d } | | } | j ƒ  } |  j t  | ƒ | | ƒ |  j | | d  | j ƒ  d ƒ |  j | | d | j ƒ  d ƒ d  S(   Ns   aBcDeFG12.'© i   i   (   R   t   swapcaseR   (   R   R   R   RB   RW   R   (    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyt   test_swapcaseš  s    
"c         C   sn   d } | | t  | ƒ d } | j ƒ  } |  j | j | d j ƒ  ƒ ƒ |  j | j | j ƒ  d ƒ ƒ d  S(   Nt   SpaaHAaaAahami   i   (   R   t   titleR4   Re   R5   Rj   (   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_bigmem.pyt
   test_title¥  s
     c         C   s÷   t  j d d ƒ } d } t | ƒ } | | d } | | } | j | ƒ } |  j t | ƒ | | ƒ |  j | |  | j | ƒ ƒ |  j | | | j | ƒ ƒ |  j | j d ƒ d ƒ |  j | j d ƒ | d ƒ |  j | j d ƒ | d	 ƒ d  S(
   Ns   .aZs   -!$s
   aZz.z.Aaz.i   R   i    t   !RO   i   (   t   stringt	   maketransR   t	   translateR   R   (   R   R   t   transR   RB   RW   R   (    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyt   test_translate­  s    
c         C   sI   d | } | j  ƒ  } |  j t | ƒ | ƒ |  j | j d ƒ | ƒ d  S(   NR3   R1   (   t   upperR   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_bigmem.pyt
   test_upper¼  s    
i   c         C   s†   d } | j  | ƒ } |  j | j d | d ƒ ƒ |  j | j d ƒ ƒ |  j t | ƒ | ƒ |  j | j d ƒ | t | ƒ ƒ d  S(   Ns   -568324723598234t   0i   s   -0(   t   zfillR4   R5   Re   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_bigmem.pyt
   test_zfillÃ  s    c         C   s  d | } d | f } |  j  | | k ƒ ~ d | f } |  j t | ƒ t | ƒ d ƒ |  j  | j d ƒ ƒ |  j  | j d ƒ ƒ ~ ~ | d } d | } d j | d | g ƒ } ~ | d	 } |  j t | ƒ | d d
 ƒ |  j | j d ƒ d
 ƒ |  j | j d ƒ | d ƒ d  S(   NR	   s   %ss   ..%s..i   s   ..-s   -..i   R?   s   ...i   R   (   R4   R   R   Re   R5   R@   R   (   R   R   R   t   sft   edge(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyt   test_formatÌ  s"    
 


c         C   s
  d | } t  | ƒ } |  j t | ƒ | d ƒ |  j | d d ƒ |  j | d d ƒ |  j | j d ƒ | ƒ ~ d | } t  | ƒ } |  j t | ƒ | d d ƒ |  j | d d ƒ |  j | d d ƒ |  j | j d ƒ | ƒ |  j | j d	 ƒ | d ƒ d  S(
   NR	   i   i    t   'iÿÿÿÿs    i   s   \R‘   (   t   reprR   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_bigmem.pyt   test_repr_smallá  s    

c         C   s–   d | } t  | ƒ } |  j t | ƒ | d d ƒ |  j | d d ƒ |  j | d d ƒ |  j | j d ƒ | ƒ |  j | j d ƒ | d ƒ d  S(	   Ns    i   i   i    R—   iÿÿÿÿ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_bigmem.pyt   test_repr_largeõ  s    
i    c         C   sm   t  d ƒ | } zK t | ƒ } |  j t | ƒ d d | ƒ |  j | j d ƒ | d ƒ Wd  d  } } Xd  S(   NiÍ«  i   i   s   \uabcd'iöÿÿÿ(   t   unichrR˜   R   R   R4   R5   R#   (   R   R   R   t   r(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyt   test_unicode_reprÿ  s    !c         C   sm   t  d ƒ | } zK t | ƒ } |  j t | ƒ d d | ƒ |  j | j d ƒ | d ƒ Wd  d  } } Xd  S(   NiÍ«  i   i   s   \uabcd'iöÿÿÿ(   R›   R˜   R   R   R4   R5   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_bigmem.pyt   test_unicode_repr_oflw
  s    !i   c         C   se   d | } |  j  t | ƒ | ƒ | | } |  j  t | ƒ | d ƒ |  j  | j d ƒ | d ƒ d  S(   NR   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_bigmem.pyt   test_concat  s
    

c         C   se   d | } |  j  t | ƒ | ƒ | d } |  j  t | ƒ | d ƒ |  j  | j d ƒ | d ƒ d  S(   NR   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_bigmem.pyt   test_repeat!  s
    

c         C   sæ  d } t  | ƒ } | | | } t  | ƒ d } | | | } xÊ t d t  | ƒ | | ƒ D]¬ } |  j | | | d ƒ |  j | | | | !| ƒ |  j | | | | d … | d  d  d … ƒ | d k r[ |  j | | | d | d d … | | d  d … ƒ q[ q[ W|  j | t  | ƒ d | d ƒ |  j | d | d ƒ |  j | t  | ƒ d | d ƒ |  j | | | d ƒ |  j | t  | ƒ d	 ƒ |  j | t  | ƒ d | d ƒ |  j | d | d ƒ |  j | t  | ƒ | | ƒ |  j | | | ƒ |  j t  | ƒ t  | ƒ ƒ |  j t  | t  | ƒ d
  ƒ t  | ƒ d
 ƒ |  j t  | d
 d !ƒ t  | ƒ d ƒ |  j t t j | t  | ƒ ƒ |  j t t j | t  | ƒ d ƒ |  j t t j | t  | ƒ d d >ƒ d  S(   Nt
   0123456789id   i    i   i   iýÿÿÿiÿÿÿÿi
   R?   i   iûÿÿÿi   (   R   RR   R   RE   t
   IndexErrort   operatort   getitem(   R   R   R   RB   R   t   stepsizeR   (    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyt   test_slice_and_getitem)  s6    #."""".'#c         C   s‘   d } d | d } d j  | | | g ƒ } ~ |  j | | ƒ |  j | d | ƒ |  j d | ƒ |  j d | ƒ | d 7} |  j d | ƒ d  S(   NR¡   R	   i   R?   R3   (   R@   t   assertInt   assertNotIn(   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_bigmem.pyt   test_containsJ  s    
c         C   sk   d | } d | } |  j  | | k ƒ ~ | d } |  j | | k ƒ ~ d | } |  j | | k ƒ d  S(   NR	   R3   R   (   R4   R6   (   R   R   t   s1R7   (    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyt   test_compareW  s    



c         C   sD   d | } t  | ƒ } ~ d | d } |  j | t  | ƒ k ƒ d  S(   Ns    i   (   t   hashR6   (   R   R   R   t   h1(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyt	   test_hashc  s
    
NI       iªªª*(?   t   __name__t
   __module__R   R   R   R   R    t   requires_unicodeR   t   character_sizeR   R    R"   R#   R(   R)   R   R+   R-   R/   R2   R8   R>   RC   RG   RJ   RM   RQ   RX   R[   R^   R_   Rg   Ri   Rk   Rn   Rq   Rs   Ru   Rv   Rx   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_bigmem.pyR   )   sz   	"%))---%"		
		"""""""""	"""
%
-"
""!"t	   TupleTestc           B   sí  e  Z e d  e d d d ƒ d „  ƒ Z d „  Z e d  e d d d d ƒ d „  ƒ Z e d  e d d d ƒ d „  ƒ Z e d  e d	 d
 d d ƒ d „  ƒ Z e d  e d
 d d ƒ d „  ƒ Z	 e d  e d
 d d ƒ d „  ƒ Z
 d „  Z e d  e d d d d ƒ d „  ƒ Z e d  e d d d ƒ d „  ƒ Z e d  e d d d ƒ d „  ƒ Z e d e d d d ƒ d „  ƒ Z e d e d d d ƒ d „  ƒ Z d „  Z e d  e d d d d ƒ d „  ƒ Z e d  e d d d  ƒ d „  ƒ Z RS(!   R   i   R   i   c         C   so   d | } d | } |  j  | | k ƒ ~ d | d } |  j | | k ƒ ~ d | } |  j | | k ƒ d  S(   Nu    i   (   u    (   u    (   u    (   i   (   R4   R6   (   R   R   t   t1t   t2(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyR«   |  s    


c         C   sH   d | } |  j  t | ƒ | ƒ | | } |  j  t | ƒ | d ƒ d  S(   Ni   (    (   (    (   R   R   (   R   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_bigmem.pyt   basic_concat_test�  s    

i   c         C   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_bigmem.pyt   test_concat_small“  s    c         C   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_bigmem.pyt   test_concat_large—  s    i   i
   i   c         C   sX   d | } |  j  t | ƒ | d ƒ |  j d | ƒ |  j d | ƒ |  j d | ƒ d  S(	   Ni   i   i   i   i   i    (   i   i   i   i   i   (   i   i   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_bigmem.pyR©   ›  s
    
c         C   sD   d | } t  | ƒ } ~ d | d } |  j | t  | ƒ k ƒ d  S(   Ni    i   (   i    (   i    (   R¬   R6   (   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_bigmem.pyR®   £  s
    
c         C   sW  d | } |  j t | ƒ | ƒ |  j | d d  ƒ |  j | d d  ƒ |  j | | d d  ƒ |  j t t j | | ƒ |  j | d  d ƒ |  j | d d ƒ |  j | d d !d ƒ |  j | d d !d ƒ |  j | | d d ƒ |  j | | d | !d ƒ |  j | | d	 | d
 !d ƒ |  j | | | !d ƒ |  j | | | d !d ƒ d  S(   Niÿÿÿÿi   i   iûÿÿÿi   i   içÿÿÿiìÿÿÿi   i   i   (   N(   N(   NNNNN(   N(   NNNNN(   N(   NNNNN(   N(   NNNNN(   N(   NNNNN(   N(   NNNNN(   N(   NNNN(    (    (   R#   R   R   RE   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_bigmem.pyt   test_index_and_slice«  s    
c         C   sH   d | } |  j  t | ƒ | ƒ | d } |  j  t | ƒ | d ƒ d  S(   NR?   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_bigmem.pyt   basic_test_repeat¾  s    

c         C   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_bigmem.pyt   test_repeat_smallÄ  s    c         C   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_bigmem.pyt   test_repeat_largeÈ  s    i   i   c         C   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_bigmem.pyt   test_repeat_large_2Ì  s    R   i	   c         C   so   y t  t | ƒ ƒ } Wn t k
 r) nB Xd } x( | D]  } |  j | | ƒ | d 7} q7 W|  j | | ƒ d  S(   Ni    i   (   t   tuplet   xranget   MemoryErrorR   (   R   R   R¶   R   t   item(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyt   test_from_2G_generatorÐ  s    i   c         C   so   yW t  t | ƒ ƒ } d } x( | D]  } |  j | | ƒ | d 7} q" W|  j | | ƒ Wn t k
 rj n Xd  S(   Ni    i   (   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_bigmem.pyt   test_from_almost_2G_generatorÝ  s    c         C   su   d | } t  | ƒ } |  j t | ƒ | d ƒ |  j | d  d ƒ |  j | d d ƒ |  j | j d ƒ | ƒ d  S(	   Ni    i   i   s   (0, 0iûÿÿÿs   0, 0)R‘   (   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_bigmem.pyt   basic_test_reprê  s    
i   c         C   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_bigmem.pyR™   ó  s    c         C   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_bigmem.pyRš   ÷  s    i(   i   i   (   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_bigmem.pyR³   q  s    "	&"&""	&""""		&t   ListTestc           B   sš  e  Z e d  e d d d ƒ d „  ƒ Z d „  Z e d  e d d d d ƒ d „  ƒ Z e d  e d d d ƒ d „  ƒ Z d	 „  Z e d  e d d d d ƒ d
 „  ƒ Z	 e d  e d d d ƒ d „  ƒ Z
 e d  e d d d d) ƒ d „  ƒ Z e d  e d d d ƒ d „  ƒ Z e d  e d d d ƒ d „  ƒ Z d „  Z e d  e d d d d ƒ d „  ƒ Z e d  e d d d ƒ d „  ƒ Z d „  Z e d  e d d d d ƒ d „  ƒ Z e d  e d d d ƒ d „  ƒ Z d „  Z e d  e d d d d* ƒ d „  ƒ Z e d  e d d d+ ƒ d „  ƒ Z e d  e d d ƒ d „  ƒ Z e d  e d d d d, ƒ d „  ƒ Z d „  Z e d  e d d d d ƒ d  „  ƒ Z e d  e d d d ƒ d! „  ƒ Z e d  e d d d d- ƒ d" „  ƒ Z e d  e d d d ƒ d# „  ƒ Z e d  e d d$ d d. ƒ d% „  ƒ Z e d  e d d d ƒ d& „  ƒ Z e d  e d d d d/ ƒ d' „  ƒ Z  e d  e d d d d0 ƒ d( „  ƒ Z! RS(1   R   i   R   i   c         C   s{   d g | } d g | } |  j  | | k ƒ ~ d g | d } |  j | | k ƒ ~ d g | } |  j | | k ƒ d  S(   Nu    i   i   (   R4   R6   (   R   R   t   l1t   l2(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyR«     s    c         C   sK   g  g | } |  j  t | ƒ | ƒ | | } |  j  t | ƒ | d ƒ d  S(   Ni   (   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_bigmem.pyt   basic_test_concat  s    
i   c         C   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_bigmem.pyR¸     s    c         C   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_bigmem.pyR¹     s    c         C   sv   t  j g | } | | 7} |  j t | ƒ | d ƒ |  j | d | d k ƒ |  j | | d | | d k ƒ d  S(   Ni   i    iÿÿÿÿi   (   t   syst   stdoutR   R   R4   (   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_bigmem.pyt   basic_test_inplace_concat!  s
    
c         C   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_bigmem.pyt   test_inplace_concat_small(  s    c         C   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_bigmem.pyt   test_inplace_concat_large,  s    i   i
   i   c         C   sv   d d d d d g | } |  j  t | ƒ | d ƒ |  j d | ƒ |  j d d d d d g | ƒ |  j d | ƒ d  S(   Ni   i   i   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_bigmem.pyR©   0  s
    c         C   s$   d g | } |  j  t t | ƒ d  S(   Ni    (   RE   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_bigmem.pyR®   8  s    c      	   C   sÏ  d  g | } |  j t | ƒ | ƒ |  j | d d  ƒ |  j | d d  ƒ |  j | | d d  ƒ |  j t t j | | ƒ |  j | d  d  g d ƒ |  j | d d  g d ƒ |  j | d d !d  g d ƒ |  j | d d !d  g d ƒ |  j | | d d  g d ƒ |  j | | d | !d  g d ƒ |  j | | d	 | d
 !d  g d ƒ |  j | | | !g  ƒ |  j | | | d !g  ƒ d | | d
 <|  j t | ƒ | ƒ |  j | d d  d d  g ƒ |  j | j d ƒ d ƒ |  j t t j | | d	 ƒ |  j t | ƒ | ƒ d d
 d d d g | | d )| d
 8} |  j t | ƒ | ƒ |  j | d d  d  d d
 d d d g ƒ d d
 d d d g | d *| d
 8} |  j t | ƒ | ƒ |  j | d  d d
 d d d d  d  g ƒ | | d =| d 8} |  j t | ƒ | ƒ |  j | d d ƒ | d 3| d
 8} |  j t | ƒ | ƒ |  j | d d
 ƒ | d =| d 8} |  j t | ƒ | ƒ |  j | d d
 ƒ | d
 4| d
 8} |  j t | ƒ | ƒ |  j | d d ƒ d  S(   Niÿÿÿÿi   i   iûÿÿÿi   i   içÿÿÿiìÿÿÿi   i   i   iýÿÿÿi   i   iùÿÿÿiþÿÿÿi    (	   R#   R   R   RE   R¢   R£   R¤   R   t   setitem(   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_bigmem.pyRº   =  sZ    "&
)
)



c         C   sb   g  | } |  j  | ƒ d g | } |  j t | ƒ | ƒ | d } |  j t | ƒ | d ƒ d  S(   NR?   i   (   R6   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_bigmem.pyR»   u  s    

c         C   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_bigmem.pyR¼   }  s    c         C   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_bigmem.pyR½   �  s    c         C   s›   d g } | | 9} |  j  t | ƒ | ƒ |  j | d | d k ƒ ~ d g | } | d 9} |  j  t | ƒ | d ƒ |  j | | d | d k ƒ d  S(   NR?   i    iÿÿÿÿi   i   (   R   R   R4   (   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_bigmem.pyt   basic_test_inplace_repeat…  s    	

c         C   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_bigmem.pyt   test_inplace_repeat_small‘  s    c         C   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_bigmem.pyt   test_inplace_repeat_large•  s    c         C   sx   d g | } t  | ƒ } |  j t | ƒ | d ƒ |  j | d  d ƒ |  j | d d ƒ |  j | j d ƒ | ƒ d  S(   Ni    i   i   s   [0, 0iûÿÿÿs   0, 0]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_bigmem.pyRÅ   ™  s    i   c         C   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_bigmem.pyR™   ¢  s    c         C   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_bigmem.pyRš   ¦  s    i	   c         C   st   t  ƒ  g | } | j t  ƒ  ƒ |  j t | ƒ | d ƒ |  j | d | d k ƒ |  j | d | d k ƒ d  S(   Ni   iýÿÿÿiþÿÿÿiÿÿÿÿ(   t   objectt   appendR   R   R4   R6   (   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_bigmem.pyt   test_append¬  s
    c         C   sO   d d d d d g | } |  j  | j d ƒ | ƒ |  j  | j d ƒ d ƒ d  S(   Ni   i   i   i   i   t   1i    (   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_bigmem.pyR    ´  s    c         C   sv   t  g | } | j | ƒ |  j t | ƒ | d ƒ |  j | d | d k ƒ |  j | | d | | d k ƒ d  S(   Ni   i    iÿÿÿÿi   (   t   filet   extendR   R   R4   (   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_bigmem.pyt   basic_test_extendº  s
    c         C   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_bigmem.pyt   test_extend_smallÁ  s    c         C   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_bigmem.pyt   test_extend_largeÅ  s    c         C   sÁ   d d d d d g | } | d 9} |  j  | j d ƒ d ƒ |  j  | j d | d ƒ | d ƒ |  j  | j d | d | ƒ | d ƒ |  j t | j d | d	 | ƒ |  j t | j d
 ƒ d  S(   Nl    l    l    l    l    i   i   i    i   l    (   R   RD   RE   RF   (   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_bigmem.pyRG   É  s    
$' c         C   s!  d g | } | j  | d d ƒ | d 7} |  j t | ƒ | ƒ |  j | d d d d g ƒ | j  | d d ƒ | d 7} |  j t | ƒ | ƒ |  j | d d d d g ƒ | j  d d ƒ | d 7} |  j t | ƒ | ƒ |  j | d  d d d g ƒ |  j | | d d d d g ƒ d  S(   Ng      ð?i   R1   iýÿÿÿt   Bt   Ci   (   t   insertR   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_bigmem.pyt   test_insertÔ  s    


i   c         C   sI  d d d d d g | } | d 9} |  j  t | ƒ | ƒ | j ƒ  } | d 8} |  j  t | ƒ | ƒ |  j  | d ƒ |  j  | d d d g ƒ | j d	 ƒ } | d 8} |  j  t | ƒ | ƒ |  j  | d ƒ |  j  | d
  d d g ƒ | j | d
 ƒ } | d 8} |  j  t | ƒ | ƒ |  j  | d ƒ |  j  | d d d g ƒ d  S(   Nu   au   bu   cu   du   ei   i   iþÿÿÿi    i   (   R   R   t   pop(   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_bigmem.pyt   test_popç  s$    



c         C   sâ   d g | } |  j  t | ƒ | ƒ | j d ƒ | d 8} |  j  t | ƒ | ƒ | j d ƒ | d 7} |  j  t | ƒ | ƒ |  j  | d d d g ƒ | j d ƒ | d 8} |  j  t | ƒ | ƒ |  j  | d d d g ƒ d  S(   Ni
   i   i   iþÿÿÿ(   R   R   t   removeRÕ   (   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_bigmem.pyt   test_removeÿ  s    


c         C   s‡   d d d d d g | } | j  ƒ  |  j t | ƒ | d ƒ |  j | d d d d d d g ƒ |  j | d  d d d d d g ƒ d  S(   Ni   i   i   i   i   iûÿÿÿ(   t   reverseR   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_bigmem.pyt   test_reverse  s
    
#c         C   s�   d d d d d g | } | j  ƒ  |  j t | ƒ | d ƒ |  j | j d ƒ | ƒ |  j | d  d g d ƒ |  j | d d g d ƒ d  S(   Ni   i   i   i   i   i
   iöÿÿÿ(   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_bigmem.pyt	   test_sort  s    
i(   i   i   i(   i(   i(   i(   i(   ("   R¯   R°   R   R   R«   RÉ   R¸   R¹   RÌ   RÍ   RÎ   R©   R®   Rº   R»   R¼   R½   RÑ   RÒ   RÓ   RÅ   R™   Rš   RÖ   R    RÚ   RÛ   RÜ   RG   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_bigmem.pyRÆ   û  s<   "	&"	&"&""8	&"	&"		&"&	&"&"&"&t
   BufferTestc           B   s&   e  Z e d  e d d ƒ d „  ƒ Z RS(   R   R   i   c         C   s„   y' t  j ƒ  � t d ƒ | } Wd  QXWn t k
 r: nF Xd } x( | D]  } |  j | d ƒ | d 7} qH W|  j | | d ƒ d  S(   Nt   AAAAi    R1   i   i   (   R    t   check_py3k_warningst   bufferRÁ   R   (   R   R   Rb   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_bigmem.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_bigmem.pyRé   $  s   c           C   s   t  j t t t t ƒ d  S(   N(   R    t   run_unittestR   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_bigmem.pyt	   test_main4  s    t   __main__(   t   testR    t   test.test_supportR   R   R   R   R   t   unittestR£   RŠ   RÊ   t   have_unicodet
   maxunicodeR²   t   TestCaseR   R³   RÆ   Ré   Rî   R¯   R   t   argvt   set_memlimit(    (    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigmem.pyt   <module>   s(   (	ÿ ÿ JŠÿ *	