ó
wŰjc           @   sZ  d  d l  Z  d  d l Z d  d l Z d  d l Z d  d l m Z m Z d e f d     YZ e j	 j
 Z d e Z e d Z d Z d Z e e d	 d d e e d ?g  Z e j d
  e j d  d Z x3 e d e  D]! Z e j e d  e d >Z qŰ W[ e e d   e  e d   e  Z d d	 f d d f d d f d d f d d f d d f d d f d d f d d f d d f e e j  e j f d e f d d f d  e f d! e f d" e f d# e f g Z e j rěe e d  d	 f e d  d f e d  d f e d  d f e d  d f e d  d f e d  d f e d  d f e d$ d%  d f e d  d f e d  e f e d  d f e d   e f e d!  e f e d"  e f e d#  e f e d&  e f g 7Z n  d' e f d(     YZ d) e f d*     YZ d+ e j  e  j! f d,     YZ" d-   Z# e$ d. k rVe#   n  d S(/   i˙˙˙˙N(   t   test_intt   test_supportt   Frmc           B   s   e  Z d    Z d   Z RS(   c         G   s   | |  _  | |  _ d  S(   N(   t   formatt   args(   t   selfR   R   (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   __init__   s    	c         C   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_long.pyt   __str__   s    (   t   __name__t
   __module__R   R   (    (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyR   
   s   	i   i   iF   i   i    l   UUŞ*UUŞ* l   Ş*UUŞ*UU
 l    c         C   s   |  S(   N(    (   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_long.pyt   <lambda>'   t    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_long.pyR   (   R   t   0t   1t   9i	   t   10i
   t   99ic   t   100id   t   314i:  s    314s   314 s     		  314  		  s     1xs     1  s     1  R   t    s     		  s   \u0663\u0661\u0664 s   raw-unicode-escapei   t   LongSubclassc           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_long.pyR   R   s   t   OtherLongSubclassc           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_long.pyR   U   s   t   LongTestc           B   s  e  Z e Z d    Z d   Z d   Z d   Z d   Z d   Z	 e
 j d    Z d   Z d   Z d	   Z d
   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z d   Z e j e j d  j d  d  d    Z d   Z d   Z  d   Z! d   Z" d   Z# RS(   c         C   s9  |  j  | d  | t } | t d } d } d } t t j   t d  d B} xĄ | | k  rő | d ?d } t | | |  } |  j d | k o t k n  | | } | | >} | d @rŘ | d | >d B} n  t t j   t d  } qU W|  j | | k o| k n  t j   d k  r5| } n  | S(   Ni    i   l    i   g      ŕ?(   t   assertGreatert   SHIFTt   intt   randomt   mint
   assertTrue(   R   t   ndigitst   nbits_hit   nbits_lot   answert   nbitst   rt   bits(    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   getranb   s&    
#


#
c         C   sW   d } x. t  |   D]  } | t >t j d t  B} q Wt j   d k  rS | } n  | S(   Nl    i    g      ŕ?(   t   xrangeR   R   t   randintt   MASK(   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_long.pyt   getran2z   s    
c   
      C   s7  |  j  } t | |  \ } } | | | | } } | | | | } }	 | | |	 t d | |   | | | t d | |   | | | t d | |   | | | | | t d | |   | d k r|  j d | k oé | k  n t d | |   n2 |  j | | k  od k n t d | |   d  S(   Ns-   multiplication does not commute for %r and %rs6   divmod returns different quotient than / for %r and %rs2   divmod returns different mod than %% for %r and %rs'   x != q*y + r after divmod on x=%r, y=%ri    s    bad mod from divmod on %r and %r(   t   assertEqualt   divmodR   R   (
   R   R
   t   yt   eqt   qR#   t   q2t   r2t   pabt   pba(    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   check_division   s    	$5c         C   sO  t  d t d  t  t t d  } | j t d  xS | D]K } |  j |  } x3 | D]+ } |  j |  pp d } |  j | |  qX Wq< W|  j d d  |  j d d  |  j d	 d
  |  j d d  |  j d d  |  j d d  |  j d d  |  j d d  |  j d d  |  j d d  |  j d d  |  j d d  d  S(   Ni   i   i   l    l   !Us/w3al   ZWő3al   +Q@{ĂdŕB]OlNl   ĄOĆOlNl   ÁtŞeo%gîqŞCgx<l   ź&ghrsGl   Q5ŤĽKô4+Äoť-bkl   CÓ4+Äoť-bkl   îł.#wŮflD&I-ŐXl   ¤ZnSu9bl   äcŹv°Ô¤ě<úIl   rdĂFBu'Ýpl   óPhbIl   |bIl   1Öm{Wql   ž}Wql   Řs~5^Fl   öyČWl   'HŐ
<{śCl   `<{śCl   ŔED_5(ÔNl   o­ybal   =2zz6 l   ä9Čtém(   t   ranget	   MAXDIGITSt   KARATSUBA_CUTOFFt   appendR%   R4   (   R   t   digitst   lenxR
   t   lenyR-   (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   test_division   s4    						c   
      C   sý   t  d d  t  t t d  } | j t d t d g  g  | D] } | t ^ qB } x | D] } d | >d } x | D]w } | | k  r qz n  d | >d } | | } d | | >d | >d | >d }	 |  j | |	 t d | | | |	   qz Wq_ Wd  S(   Ni   i   i
   id   l    s*   bad result for a*b: a=%r, b=%r, x=%r, y=%r(   R5   R7   t   extendR   R+   R   (
   R   R9   t   digitR$   t   abitst   at   bbitst   bR
   R-   (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   test_karatsubaˇ   s     
c         C   sB   |  j  d d  |  j  d d  |  j t   d d >Wd  QXd  S(   Nl    i    i
   i˙˙˙˙l    l    (   R+   t   assertRaisest
   ValueError(   R   (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   test_lshift_of_zeroÍ   s    c         C   s@   |  j  d t j >d  |  j t   d t j d >Wd  QXd  S(   Nl    i    i   (   R+   t   syst   maxsizeRD   t   OverflowError(   R   (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   test_huge_lshift_of_zeroÓ   s    c      	   C   sś  |  j  } | | d @d t d |   | | d B| t d |   | | d A| t d |   | | d @| t d |   | | d Bd t d |   | | d A| t d |   | | | t d	 |   | | | @| t d
 |   | | | B| t d |   | | | Ad t d |   | | | @d t d |   | | | Bd t d |   | | | Ad t d |   | | d | t d |   | | | d t d |   xí t d t  D]Ű } d | } | | | >| ?| t d | |   | | | | | ?t d | | |   | | | | | >t d | | |   | | | @| | ?| >t d | | |   | | | @| | d @t d | | |   qÓWd  S(   Ni    s   x & 0 != 0 for x=%rs   x | 0 != x for x=%rs   x ^ 0 != x for x=%ri˙˙˙˙s   x & -1 != x for x=%rs   x | -1 != -1 for x=%rs   x ^ -1 != ~x for x=%rs   x != ~~x for x=%rs   x & x != x for x=%rs   x | x != x for x=%rs   x ^ x != 0 for x=%rs   x & ~x != 0 for x=%rs   x | ~x != -1 for x=%rs   x ^ ~x != -1 for x=%ri   s   not -x == 1 + ~x for x=%rs   not -x == ~(x-1) forx =%ri   l    s   x << n >> n != x for x=%r, n=%rs%   x // p2 != x >> n for x=%r n=%r p2=%rs$   x * p2 != x << n for x=%r n=%r p2=%rs.   not x & -p2 == x >> n << n for x=%r n=%r p2=%rs0   not x & -p2 == x & ~(p2 - 1) for x=%r n=%r p2=%r(   R+   R   R&   R   (   R   R
   R.   t   nt   p2(    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   check_bitop_identities_1Ü   s8    	
c         C   st  |  j  } | | | @| | @t d | |   | | | B| | Bt d | |   | | | A| | At d | |   | | | A| A| t d | |   | | | @| | Bt d | |   | | | B| | @t d | |   | | | A| | B| | @@t d | |   | | | A| | @| | @Bt d | |   | | | A| | B| | B@t d	 | |   d  S(
   Ns   x & y != y & x for x=%r, y=%rs   x | y != y | x for x=%r, y=%rs   x ^ y != y ^ x for x=%r, y=%rs   x ^ y ^ x != y for x=%r, y=%rs"   x & y != ~(~x | ~y) for x=%r, y=%rs"   x | y != ~(~x & ~y) for x=%r, y=%rs*   x ^ y != (x | y) & ~(x & y) for x=%r, y=%rs+   x ^ y == (x & ~y) | (~x & y) for x=%r, y=%rs+   x ^ y == (x | y) & (~x | ~y) for x=%r, y=%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_long.pyt   check_bitop_identities_2ú   s    	$$$$''c         C   s   |  j  } | | | @| @| | | @@t d | | |   | | | B| B| | | BBt d | | |   | | | A| A| | | AAt d | | |   | | | | B@| | @| | @Bt d | | |   | | | | @B| | B| | B@t d | | |   d  S(   Ns/   (x & y) & z != x & (y & z) for x=%r, y=%r, z=%rs/   (x | y) | z != x | (y | z) for x=%r, y=%r, z=%rs/   (x ^ y) ^ z != x ^ (y ^ z) for x=%r, y=%r, z=%rs5   x & (y | z) != (x & y) | (x & z) for x=%r, y=%r, z=%rs5   x | (y & z) != (x | y) & (x | z) for x=%r, y=%r, z=%r(   R+   R   (   R   R
   R-   t   zR.   (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   check_bitop_identities_3	  s    	c         C   sś   x t  D] } |  j |  q Wt d t d  } x~ | D]v } |  j |  } |  j |  xQ | D]I } |  j |  } |  j | |  |  j | | |  j | | d   qa Wq8 Wd  S(   Ni   i   (   t   specialRM   R&   R6   R%   RN   RP   (   R   R
   R9   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_long.pyt   test_bitop_identities  s    c         C   sĎ   | | f d k r d Sg  } d } | d k  r? d | } } n  x2 | rs t  | |  \ } } | j t |   qB W| j   | p d g } d |  i d d 6d d 6d	 d
 6| d j t d   |   d S(   Ni    i   t   0Li   t   -R   R   i
   t   0xi   c         S   s   d |  S(   Nt   0123456789abcdef(    (   R)   (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyR   1  R   t   L(   i    i   (   R,   R8   R   t   reverset   joint   map(   R   R
   t   baseR9   t   signR#   (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   slow_format"  s    	
c         C   sú   xŁ d t  f d t f d t f f D] \ } } | |  } |  j | |  } t d | j | | |  } |  j | | |  |  j t | d  | t d | |   q" Wt |  } |  j | d  d  } t d | j | | |  } |  j | | |  d  S(   Ni   i
   i   s%   %s returned %r but expected %r for %ri    s   long("%s", 0) != %ri˙˙˙˙(	   t   octt   reprt   hexR]   R   R   R+   t   longt   str(   R   R
   R[   t   mappert   gott   expectedt   msg(    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   check_format_13  s    .,c         C   ss   x t  D] } |  j |  q WxN t d  D]@ } x7 t d t d  D]" } |  j |  } |  j |  qE Wq+ Wd  S(   Ni
   i   (   RQ   Rg   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_long.pyt   test_formatC  s    c   	      C   sŠ  |  j  t d  d  |  j  t d  d  |  j  t d  d  |  j  t t d   t  |  j  t t d   t  |  j  t t d   t  |  j  t d  d  |  j  t d  d  |  j  t d  d  |  j  t d	  d  |  j  t d
  d  |  j  t d  d  |  j  t d d  d  |  j  t d d  d  |  j  t d d  d  t j r|  j  t t d   d  n  |  j  t d d  d  t j rŃ|  j  t t d  d  d  n  d d d f d d d d f g } t } t j rL| t d  t d  d d  f t d  t d  d dĄ f g 7} n  x¤ | | D] \ } } x d˘ D] } xx dŁ D]p } | | | } | } | d k rł| t k	 rł| } n  y  |  j  t |  t |   Wqw| k
 rćqwXqwWqjWqWW|  j t t d!  |  j t t d" d#  |  j t	 t d$ d%  |  j  t d& d'  d(  |  j  t d& d'  d(  |  j  t d) d'  d'  |  j  t d* d'  d(  |  j  t d+ d'  d,  |  j  t d- d'  d.  |  j  t d/ d'  d(  |  j  t d0 d'  d,  |  j  t d1 d'  d.  |  j  t d d'  d'  |  j  t d2 d'  d'  |  j  t d3 d'  d'  |  j  t d4 d'  d'  |  j t t d5 d'  |  j t t d6 d'  |  j t t d! d7  |  j t t d8 d  |  j  t d9 d  d:  |  j  t d; d<  d:  |  j  t d= d.  d:  |  j  t d> d?  d:  |  j  t d@ dA  d:  |  j  t dB dC  d:  |  j  t dD d  d:  |  j  t dE dF  d:  |  j  t dG d7  d:  |  j  t dH dI  d:  |  j  t dJ d%  d:  |  j  t dK dL  d:  |  j  t dM dN  d:  |  j  t dO dP  d:  |  j  t dQ d  d:  |  j  t dR dS  d:  |  j  t dT dU  d:  |  j  t dV dW  d:  |  j  t dX d  d:  |  j  t dY dZ  d:  |  j  t d[ d\  d:  |  j  t d] d^  d:  |  j  t d_ d`  d:  |  j  t da db  d:  |  j  t dc dd  d:  |  j  t de df  d:  |  j  t dg dh  d:  |  j  t di dj  d:  |  j  t dk dl  d:  |  j  t dm dn  d:  |  j  t do dp  d:  |  j  t dq dr  d:  |  j  t ds dt  d:  |  j  t du dv  d:  |  j  t dw dx  d:  |  j  t dy d  dz  |  j  t d{ d<  dz  |  j  t d| d.  dz  |  j  t d} d?  dz  |  j  t d~ dA  dz  |  j  t d dC  dz  |  j  t d d  dz  |  j  t d dF  dz  |  j  t d d7  dz  |  j  t d dI  dz  |  j  t d d%  dz  |  j  t d dL  dz  |  j  t d dN  dz  |  j  t d dP  dz  |  j  t d d  dz  |  j  t d dS  dz  |  j  t d dU  dz  |  j  t d dW  dz  |  j  t d d  dz  |  j  t d dZ  dz  |  j  t d d\  dz  |  j  t d d^  dz  |  j  t d d`  dz  |  j  t d db  dz  |  j  t d dd  dz  |  j  t d df  dz  |  j  t d dh  dz  |  j  t d dj  dz  |  j  t d dl  dz  |  j  t d dn  dz  |  j  t d dp  dz  |  j  t d dr  dz  |  j  t d dt  dz  |  j  t d dv  dz  |  j  t d dx  dz  d  S(¤   Ni:  l   :gëQ¸	@l    gëQ¸	Ŕl˙˙˙˙ g333333@g333333Ŕg      @g      Ŕs   -3t   0b10i   l    t   0o10i   l    t   0x10i   l    R   R   R   i   l   
 id   R   t   +RT   R   s   	s     		  s   123 t   53i(   i   i   s    0123  i    iS   t   000t   0o123t   0x123i#  t   0b100i   s	    0O123   s    0X123  s    0B100 s   +0s   -0t   00t   08s   -012395i
   s   123  245t!   100000000000000000000000000000000I       t   102002022201221111211i   t   10000000000000000t   32244002423141i   t   1550104015504i   t   211301422354i   t   40000000000t   12068657454i	   t
   4294967296t
   1904440554i   t	   9ba461594t	   535a79889i   t	   2ca5b7464i   t	   1a20dcd81i   t	   100000000t   a7ffda91i   t   704he7g4i   t   4f5aff66i   t   3723ai4gt   281d55i4i   t   1fj8b184i   t   1606k7ici   t   mb994agi   t   hek2mgli   t   dnchbnmi   t   b28jpdmi   t   8pfgih4i   t   76beiggi   t   5qmcpqgi   t   4q0jto4i   t   4000000i    t   3aokq94i!   t   2qhxjlii"   t   2br45qbi#   t   1z141z4i$   t!   100000000000000000000000000000001I      t   102002022201221111212t   10000000000000001t   32244002423142t   1550104015505t   211301422355t   40000000001t   12068657455t
   4294967297t
   1904440555t	   9ba461595t	   535a7988at	   2ca5b7465t	   1a20dcd82t	   100000001t   a7ffda92t   704he7g5t   4f5aff67t   3723ai4ht   281d55i5t   1fj8b185t   1606k7idt   mb994aht   hek2mgmt   dnchbnnt   b28jpdnt   8pfgih5t   76beight   5qmcpqht   4q0jto5t   4000001t   3aokq95t   2qhxjljt   2br45qct   1z141z5t   00000000000000000000l      Fľx:^V l                DG¨dŞrÓâČYâ|gÄOŹs&YR5I l      Fľx:^V l                DG¨dŞrÓâČYâ|gÄOŹs&YR5I (   R   Rl   RT   (   R   R   s   	s     		  (
   R+   Ra   t   typeR   t   have_unicodet   unicodeRW   RE   RD   t	   TypeError(	   R   t   LLt   L2t   st   vR\   t   prefixt   sst   vv(    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt	   test_longK  s   		"	'
 c            si  d d& d     Y} |  j  t t |    d t f d     Y} |  j  t t |    d d' d     Y} d t f d     Y} d	 t f d
     Y} d t f d     Y} d t f d     Y} d t f d     Y} |  j t |    d  |  j t |    d  |  j t |    d  |  j t |    d  |  j t |    d  |  j  t t |    d d( d     Y}	 xćt |	 f D]Ř}
 d |
 f d     Y} |  j t |    d  d |
 f d     Y} |  j t |    d  xqt |	 f D]c} d | f d     Y  d |
 f   f d     Y} |  j t |    d  d | f  f d     Y d  |
 f  f d!     Y} y t |    Wn) t k
 rż} |  j t |  d"  n X|  j d# |
 | f f  d$ |
 f d%     Y} |   } t |  } |  j | d  |  j t	 |  t
  t |  } |  j | d  |  j t	 |  t  qúWqWd  S()   Nt   ClassicMissingMethodsc           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_long.pyRÇ   á  s   t   MissingMethodsc           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_long.pyRČ   ĺ  s   t   Foo0c           B   s   e  Z d    Z RS(   c         S   s   d S(   Nl   * (    (   R   (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   __long__ę  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_long.pyRÉ   é  s   t   Foo1c           B   s   e  Z d    Z RS(   c         S   s   d S(   Nl   * (    (   R   (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.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_long.pyRË   í  s   t   Foo2c           B   s   e  Z d    Z RS(   c         S   s   d S(   Nl   * (    (   R   (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.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_long.pyRĚ   ń  s   t   Foo3c           B   s   e  Z 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_long.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_long.pyRÍ   ő  s   t   Foo4c           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_long.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_long.pyRÎ   ů  s   t   Foo5c           B   s   e  Z d    Z RS(   c         S   s   d S(   Ng      E@(    (   R   (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.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_long.pyRĎ   ý  s   l   * i    i*   t   Classicc           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_long.pyRĐ     s   t   LongOverridesTruncc           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_long.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_long.pyt	   __trunc__  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_long.pyRŃ     s   	t	   JustTruncc           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_long.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_long.pyRÓ     s   t   Integralc           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_long.pyt   __int__  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_long.pyRÔ     s   t   TruncReturnsNonLongc              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_long.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_long.pyRÖ     s   t   NonIntegralc              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_long.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_long.pyR×   !  s   t   TruncReturnsNonIntegralc              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_long.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_long.pyRŘ   &  s   s2   __trunc__ returned non-Integral (type NonIntegral)s!   Failed to raise TypeError with %st   TruncReturnsLongSubclassc           B   s   e  Z d    Z RS(   c         S   s
   t  d  S(   Nl   * (   R   (   R   (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyRĘ   4  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_long.pyRŮ   3  s   (    (    (    (   RD   t   AttributeErrorRa   t   objectRž   R+   Rb   t   failt   assertIsRť   R   R   (   R   RÇ   RČ   RÉ   RË   RĚ   RÍ   RÎ   RĎ   RĐ   R[   RŃ   RÓ   t   trunc_result_baseRÖ   RŘ   t   eRŮ   t   good_intRK   (    (   RÔ   R×   s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   test_conversionß  sV    		c         C   sx  t  j } | d } t |  } t |  } |  j | | d  |  j | | d  t |  } y |  j | | d  Wn t k
 r |  j d  n Xt | t  sľ |  j d  n  t |  } y |  j | | d  Wn t k
 rř |  j d  n Xt | t  s|  j d	  n  | d } y t |  } Wn t k
 rR|  j d
  n X|  j | t d  | d } y t |  } Wn t k
 r |  j d  n X|  j | t d  d t f d     Y} | d  } t |  } |  j	 t
 |  t d  d t f d     Y} t j   U |  j |   d d !d  |   d d !\ }	 }
 |  j |   |	 |
 !|	 |
 f  Wd  QXd  S(   Ni   s   long(sys.maxint) != sys.maxints$   long(-sys.maxint-1) != -sys.maxint-1s3   converting sys.maxint to long and back to int failss!   int(long(sys.maxint)) overflowed!s.   int(long(sys.maxint)) should have returned ints6   converting -sys.maxint-1 to long and back to int failss$   int(long(-sys.maxint-1)) overflowed!s1   int(long(-sys.maxint-1)) should have returned ints*   int(long(sys.maxint) + 1) mustn't overflows3   int(long(sys.maxint) + 1) should have returned longs-   int(long(-sys.maxint-1) - 1) mustn't overflows6   int(long(-sys.maxint-1) - 1) should have returned longt   long2c           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_long.pyRâ   k  s   l    id   s<   overflowing int conversion must return long not long subtypet   Xc           B   s   e  Z d    Z RS(   c         S   s
   | | f S(   N(    (   R   R)   t   j(    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   __getslice__t  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_long.pyRă   s  s   l˙˙˙˙ l    iű˙˙˙i   l    l                (   iű˙˙˙i   l                lů˙˙˙             l                (   RG   t   maxintRa   R+   R   RI   RÜ   t
   isinstancet   assertIsInstanceRÝ   Rť   RŰ   R   t   check_py3k_warnings(   R   t   hugepost   hugenegt   hugepos_aslongt   hugeneg_aslongR
   R-   Râ   Ră   t   slicemint   slicemax(    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt	   test_misc>  s^    	

c         C   s_   d t  f d     Y} d t f d     Y} | |    } |  j | t  |  j | d  d  S(   Nt   BadLongc           B   s   e  Z d    Z RS(   c         S   s   d S(   Ni@B (    (   R   (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.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_long.pyRń     s   t   MyLongc           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_long.pyRň     s   i@B (   RŰ   Ra   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_long.pyt   test_issue9869~  s
    c   
         sĎ  d d d d t  j d t  j t  j d g } t t j t  j   } | j | d | | d g  | j g  | D] } | ^ qo      f d   } x0| D](} t |  } |   |  | d |  xř| D]đ} t |  } | |   | |  | | d |  | |   | |  | | d |  | |   | |  | | d |  | răt j    | |   | |  Wd  QX| | d	 |  | |   | |  | | d
 |  t	 | |    t	 | |   | | d |  n  t
 |  d k  rÓ | d k o
| d k  rÓ | |   | |  | | d |  x | D] }	 |	 d k r9| d k rt | | t |	     t | | |	   | d | | d |	  qź j t t | | t |	   q9q9WqÓ qÓ Wq Wd  S(   Ni    i   i   i   c             s&    j     t d |       d  S(   Ns   for %r expected %r got %r(   R+   R   (   R   (   Re   Rd   R   (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   checkit  s    RT   Rl   t   *t   /s   //R,   i   s   **t   powt   %(   RG   Rć   R   t   matht   sqrtR=   Ra   R   Ré   R,   t   absR÷   RD   Rž   (
   R   RQ   Rú   R)   Rô   R
   t   longxR-   t   longyRO   (    (   Re   Rd   R   s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   test_auto_overflow  sV    ,!








+

t   doublet   IEEEs   test requires IEEE 754 doublesc         C   sĹ  d d  l  } | j j } | j j } | j j } d d d t d  t d  t d  t d  t d!  t d#  t d%  t d&  t d(  g } xH | D]@ } |  j t t |   |  |  j t t |   |  q Wxt d) d* d+ d, d- d. d/ g D]W \ } } xH t d  D]: } |  j t t d | d0 |   d | d1 |  qWq÷ Wx d2 d3 d4 d5 d6 d7 d8 d9 d: d; d< d= d> d? d@ dA g D]W \ } } xH t d  D]: } |  j t t d | dB |   d | dC |  q˘WqWt |  }	 d | }
 |	 |
 d } |  j t |	  |  |  j t |	 d  |  |  j t | d  |  |  j	 t
 t |  |  j t d |  |  |  j	 t
 t |  |  j	 t
 t |
 d  |  j	 t
 t |
  |  j	 t
 t |
 d  |  j	 t
 t d |
 d  |  j	 t
 t d |
  |  j	 t
 t |
 |
  x  t d  D] } t d | dE d  } t d | dG  } |  j t t |   |  t d | dI  } t d | dJ  } |  j t t |   |  q+Wd  S(K   Ni˙˙˙˙l    l    l    i   i5   i   i   i6   i   i    i   i   i   i   i   i	   i
   i   i   i   i   i   id   I        Iý˙˙˙˙˙ I        Iţ˙˙˙˙˙ I        I˙˙˙˙˙˙ I        I        I       I      @ Iü˙˙˙˙˙? I      @ Iţ˙˙˙˙˙? I      @ I      @ I     @ (   i   i    (   i   i   (   i   i   (   i   i   (   i   i   (   i   i   (   i   i   I        I        (   i    i    (   i   i    (   i   i    (   i   i   (   i   i   (   i   i   (   i   i   (   i   i   (   i   i   (   i	   i   (   i
   i   (   i   i   (   i   i   (   i   i   (   i   i   (   i   i   I      @ I      @ I        I       I        I       I        I       I        (   RG   t
   float_infot   maxt   max_expt   mant_digRa   R+   t   floatR&   RD   RI   (   R   RG   t   DBL_MAXt   DBL_MAX_EXPt   DBL_MANT_DIGt   exact_valuesR
   R-   t   pt   long_dbl_maxt	   top_powert   halfway(    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   test_float_conversionÍ  s^    									"(<<
c      &   C   s"  x* d5 D]" } |  j  t t |   |  q Wd d } d6 } | } i | d
 6| d 6| d 6t d 6} xľ d d d d d d d d d d d d d d d d d d d  d! d" d# d$ d% d& d' d( d) d* d+ d, d- d. d/ d0 d1 d2 d3 g& D]; } |  j t t | |  |  j t |  t |  d4  qß Wd  S(7   Ng       Ŕg      đżg        g      đ?g       @t   12345ix   l    i0u  t   huget   mhuget   shugeRů   s   float(huge)s   float(mhuge)s   complex(huge)s   complex(mhuge)s   complex(huge, 1)s   complex(mhuge, 1)s   complex(1, huge)s   complex(1, mhuge)s	   1. + huges	   huge + 1.s
   1. + mhuges
   mhuge + 1.s	   1. - huges	   huge - 1.s
   1. - mhuges
   mhuge - 1.s	   1. * huges	   huge * 1.s
   1. * mhuges
   mhuge * 1.s
   1. // huges
   huge // 1.s   1. // mhuges   mhuge // 1.s	   1. / huges	   huge / 1.s
   1. / mhuges
   mhuge / 1.s
   1. ** huges
   huge ** 1.s   1. ** mhuges   mhuge ** 1.s   math.sin(huge)s   math.sin(mhuge)s   math.sqrt(huge)s   math.sqrt(mhuge)s   math.floor(huge)s   math.floor(mhuge)s(   float(shuge) should not equal int(shuge)(   g       Ŕg      đżg        g      đ?g       @lŃ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   (	   R+   R  Ra   Rů   RD   RI   t   evalt   assertNotEqualR   (   R   R
   R  R  R  t	   namespacet   test(    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   test_float_overflow  s,     
"	c         C   sÉ   t  j t  j  } xs t d  d d d g D]X } d | } t  j |  } |  j | |  | | } t  j |  } |  j | |  q, Wx: d
 D]2 } |  j t t  j |  |  j t t  j |  q Wd  S(   Ni
   id   ič  i'  l    l˙˙˙˙ l    l                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       leý˙˙                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     (   leý˙˙                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     l˙˙˙˙ l    (   Rů   t   log10Rß   R5   t   assertAlmostEqualt   logRD   RE   (   R   t   LOG10Et   expt   valueR  Re   R  t   bad(    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt	   test_logs%  s     

c   
         sĽ  |  j  } d d   f d     Y  d d d d d d d	 g } xf d d d f D]U } | j | d | d | | d | d t | d  t |  t | d  g  qM W| j d d d t j t t j  g  t d	  } | j d d d d  | d | | d g  | j g  | D] } | ^ q xy| D]q}   |  } x\| D]T}   |  } t | |  } t | |  }	 | | |	 t d | | | |	   | | | k | d k t d | | |   | | | k | d k t d | | |   | | | k  | d k  t d | | |   | | | k | d k t d | | |   | | | k | d k t d | | |   | | | k | d k t d | | |   qEWq,Wd  S(!   Nt   Ratc              s    e  Z d    Z   f d   Z RS(   c   	      S   s¤  t  | t t f  r* | |  _ d |  _ nvt  | t  rt j t |   \ } } | d k s d | k ow d k  n s t	  d } d } x | rt j
 | |  } t |  } | | ?d k sË t	  | | >| B} | | 8} d | k oú d k  n st	  | | 8} q W| d k r2| | >} d } n | } d | >} | d k  rY| } n  | |  _ | |  _ t |  t |  | k s t	  n t d |   d  S(   Ni   i    g      ŕ?g      đ?i   g        s   can't deal with %r(   Rç   R   Ra   RK   t   dR  Rů   t   frexpRű   t   AssertionErrort   ldexpRž   (	   R   R  t   fRß   t   CHUNKt   topR>   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_long.pyR   @  s6    	.	
"
	
		%c            s?   t  |    s   |  } n  t |  j | j |  j | j  S(   N(   Rç   t   cmpRK   R!  (   R   t   other(   R   (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   __cmp__h  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_long.pyR   ?  s   	(i    güŠńŇMbP?gŽGázŽď?g      đ?g      ř?g@ľxŻDgZb××çtig       @i0   i2   i5   g333333Ó?i   i   l    l    l    i N  s   %r %r %d %ds   %r == %r %ds   %r != %r %ds
   %r < %r %ds   %r <= %r %ds
   %r > %r %ds   %r >= %r %d(    g      đBg      Cg      @Cl6                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              (   R+   R=   Ra   RG   Rć   R  R(  R   (
   R   R.   t   casest   tR
   t   RxR-   t   Ryt   Rcmpt   xycmp(    (   R   s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   test_mixed_compares7  s.    	.%.(*!"+++++c         C   sO   |  j  t t t d   |  j  t t t d   |  j  t t t d   d  S(   Nt   infs   -inft   nan(   RD   RI   Ra   R  RE   (   R   (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   test_nan_inf  s    c         C   sQ  d } xô t  d d  D]ă } t |  } | j   } |  j | t t |  j d    | d k r |  j d | d t |  k o d | k  n  n |  j | d  | d k r |  j | d t	 j
 t	 j t |   t	 j d  |   q q W|  j d j   d  |  j d	 j   d  |  j d
 j   d  |  j d j   d  |  j d j   d  xß d d d d d d d d d d d g D]ś } d | } |  j | d j   |  |  j d | j   |  |  j | j   | d  |  j | j   | d  |  j | d j   | d  |  j | d j   | d  qWd  S(   Ngť˝×Ůß|Ű=i˙˙ičý  s   -0bi    i   i   l    l    l˙˙˙˙ l    l˙˙˙˙ i   i   i   i   i   i    i!   i?   i@   ię   (   R&   Ra   t
   bit_lengthR+   t   lent   bint   lstripR   Rű   Rů   t   floorR  (   R   t   tinyR
   t   kR)   R@   (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   test_bit_length  s0    %82.
($   R   R	   Ra   t   ntypeR%   R*   R4   R<   RC   RF   R   t   cpython_onlyRJ   RM   RN   RP   RR   R]   Rg   Rh   RĆ   Rá   Rđ   Ró   Rţ   t   unittestt
   skipUnlessR  t   __getformat__t
   startswithR  R  R  R1  R4  R<  (    (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyR   X   s6   				'												_	@		=:			P	c           C   s   t  j t  d  S(   N(   R   t   run_unittestR   (    (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt	   test_main°  s    t   __main__(%   R?  RG   R   Rů   R  R    R   RŰ   R   t	   long_infot   bits_per_digitR   t   BASER(   R7   R6   RZ   Ra   RQ   R8   RL   R5   R)   R_   Rć   RE   RW   Rź   R˝   t   unichrR   R   t   IntLongCommonTestst   TestCaseR   RD  R   (    (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_long.pyt   <module>   s   	

"																˙ ˙ ˙ [	