ó
ŠwÛjc        #   @   s  d  Z  d d l Z d d l m Z d d d d d d	 d
 d d d d d d d d d d d d d d d d d d d d d d  d! d" d# d$ d% d& g# Z g  Z d' „  Z d( f  d) „  ƒ  YZ d* Z x  e D] Z	 e e
 ƒ  e j UqÀ W[	 [ d+ e j f d, „  ƒ  YZ d- „  Z e d. k re ƒ  n  d S(/   s@   Test the functionality of Python classes implementing operators.iÿÿÿÿN(   t   test_supportt   addt   raddt   subt   rsubt   mult   rmult   divt   rdivt   modt   rmodt   divmodt   rdivmodt   powt   rpowt   rshiftt   rrshiftt   lshiftt   rlshiftt   andt   randt   ort   rort   xort   rxort   containst   getitemt   getslicet   setitemt   setslicet   delitemt   delslicet   negt   post   abst   initc            s   ‡  f d †  } | S(   Nc             s#   t  j ˆ  j |  f ƒ ˆ  |  | Ž  S(   N(   t   callLstt   appendt   __name__(   t   argst   kwargs(   t   f(    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   trackG   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_class.pyt	   trackCallF   s    t   AllTestsc           B   s¤   e  Z e Z e d  „  ƒ Z e d „  ƒ Z e d „  ƒ Z e d „  ƒ Z e d „  ƒ Z e d „  ƒ Z e d „  ƒ Z	 e d „  ƒ Z
 e d „  ƒ Z e d	 „  ƒ Z RS(
   c         G   s   |  f | S(   N(    (   t   selfR'   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt
   __coerce__O   s    c         G   s   t  t |  ƒ ƒ S(   N(   t   hasht   id(   R-   R'   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   __hash__S   s    c         G   s   d S(   NR,   (    (   R-   R'   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   __str__W   s    c         G   s   d S(   NR,   (    (   R-   R'   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   __repr__[   s    c         G   s   d S(   Ni   (    (   R-   R'   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   __int___   s    c         G   s   d S(   Ng      ð?(    (   R-   R'   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt	   __float__c   s    c         G   s   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_class.pyt   __long__g   s    c         G   s   d S(   Nt   01(    (   R-   R'   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   __oct__k   s    c         G   s   d S(   Nt   0x1(    (   R-   R'   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   __hex__o   s    c         G   s   d S(   Ni    (    (   R-   R'   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   __cmp__s   s    (   R&   t
   __module__R+   R.   R1   R2   R3   R4   R5   R6   R8   R:   R;   (    (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyR,   L   s   s5   @trackCall
def __%(method)s__(self, *args):
    pass
t
   ClassTestsc           B   sÎ   e  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 d „  ƒ Z d „  Z RS(   c         C   s   g  t  (d  S(   N(   R$   (   R-   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   setUp…   s    c         C   s1   t  } | | k r- |  j d | | f ƒ n  d  S(   Ns=   Expected call list:
  %s
does not match actual call list
  %s(   R$   t   fail(   R-   t   expected_callst   actualCallList(    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   assertCallStackˆ   s    	c         C   s&   t  ƒ  } |  j d | f f g ƒ d  S(   Nt   __init__(   R,   RB   (   R-   t   foo(    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   testInit�   s    	c         C   sš  t  ƒ  } g  t (| d |  j d | d f f d | d f f g ƒ g  t (d | |  j d | d f f d | d f f g ƒ g  t (| d |  j d | d f f d | d f f g ƒ g  t (d | |  j d | d f f d | d f f g ƒ g  t (| d |  j d | d f f d | d f f g ƒ g  t (d | |  j d | d f f d | d f f g ƒ d d	 d
 k rìg  t (| d |  j d | d f f d | d f f g ƒ g  t (d | |  j d | d f f d | d f f g ƒ n  g  t (| d |  j d | d f f d | d f f g ƒ g  t (d | |  j d | d f f d | d f f g ƒ g  t (t | d ƒ |  j d | d f f d | d f f g ƒ g  t (t d | ƒ |  j d | d f f d | d f f g ƒ g  t (| d |  j d | d f f d | d f f g ƒ g  t (d | |  j d | d f f d | d f f g ƒ g  t (| d ?|  j d | d f f d | d f f g ƒ g  t (d | ?|  j d | d f f d | d f f g ƒ g  t (| d >|  j d | d f f d | d f f g ƒ g  t (d | >|  j d | d f f d | d f f g ƒ g  t (| d @|  j d | d f f d | d f f g ƒ g  t (d | @|  j d | d f f d | d f f g ƒ g  t (| d B|  j d | d f f d | d f f g ƒ g  t (d | B|  j d | d f f d | d f f g ƒ g  t (| d A|  j d | d f f d | d f f g ƒ g  t (d | A|  j d | d f f d | d f f g ƒ d  S(   Ni   R.   t   __add__t   __radd__t   __sub__t   __rsub__t   __mul__t   __rmul__i   i    t   __div__t   __rdiv__t   __mod__t   __rmod__t
   __divmod__t   __rdivmod__t   __pow__t   __rpow__t
   __rshift__t   __rrshift__t
   __lshift__t   __rlshift__t   __and__t   __rand__t   __or__t   __ror__t   __xor__t   __rxor__(   R,   R$   RB   R   (   R-   t   testme(    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   testBinaryOps“   s”    	+++++++.+++++++++++++++c      	   C   s›  t  ƒ  } d d d „  ƒ  Y} y d | ƒ  k |  j d ƒ Wn t k
 rM n Xg  t (d | k |  j d | d f f g ƒ g  t (| d |  j d | d f f g ƒ g  t (d | d <|  j d | d d f f g ƒ g  t (| d =|  j d | d f f g ƒ g  t (| d	  |  j d
 | d d	 f f g ƒ g  t (d | d	 *|  j d | d d	 d f f g ƒ g  t (| d	 4|  j d | d d	 f f g ƒ g  t (| d d d … |  j d | t d d d ƒ f f g ƒ g  t (d | d d d … <|  j d | t d d d ƒ d f f g ƒ g  t (| d d d … =|  j d | t d d d ƒ f f g ƒ g  t (| d  d	 … d d  d d  … d d f |  j d | t d  d	 d  ƒ t t d  d d  ƒ d d f f f g ƒ g  t (d | d  d	 … d d  d d  … d d f <|  j d | t d  d	 d  ƒ t t d  d d  ƒ d d f d f f g ƒ g  t (| d  d	 … d d  d d  … d d f =|  j d | t d  d	 d  ƒ t t d  d d  ƒ d d f f f g ƒ t  j } t  ` t  j	 } t  `	 t  j
 } t  `
 g  t (| d	  |  j d | t d d	 d  ƒ f f g ƒ g  t (d | d	 *|  j d | t d d	 d  ƒ d f f g ƒ g  t (| d	 4|  j d | t d d	 d  ƒ f f g ƒ | t  _ | t  _	 | t  _
 d  S(   Nt   Emptyc           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_class.pyR`   ÿ   s    i   s$   failed, should have raised TypeErrort   __contains__t   __getitem__t   __setitem__t   __delitem__i*   t   __getslice__i    s
   The Answert   __setslice__t   __delslice__i   i   i
   s   A lot.i   id   t   Strange(    (   R,   R?   t	   TypeErrorR$   RB   t   slicet   Nonet   EllipsisRe   Rf   Rg   (   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_class.pyt   testListAndDictOpsú   s–    	


"((&(%			(
(		c         C   sM   d d d „  ƒ  Y} | ƒ  } d d l  m } | | d ƒ |  j | j ƒ d  S(   Nt   Ac           B   s   e  Z e Z d  „  Z RS(   c         S   s   t  |  _ d  S(   N(   t   Truet   ok(   R-   t   key(    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyRd   e  s    (   R&   R<   t   FalseRp   Rd   (    (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyRn   c  s   iÿÿÿÿ(   t   sequence_delitemi   (    (   t	   _testcapiRs   t
   assertTrueRp   (   R-   Rn   t   aRs   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   testDelItema  s
    	c         C   sS  t  ƒ  } g  t (| |  j d | f f g ƒ g  t (| 
|  j d | f f g ƒ g  t (t | ƒ |  j d | f f g ƒ g  t (t | ƒ |  j d | f f g ƒ g  t (t | ƒ |  j d | f f g ƒ g  t (t | ƒ |  j d | f f g ƒ g  t (t | ƒ |  j d | f f g ƒ g  t (t | ƒ |  j d | f f g ƒ d  S(	   Nt   __neg__t   __pos__t   __abs__R4   R6   R5   R8   R:   (	   R,   R$   RB   R"   t   intt   longt   floatt   octt   hex(   R-   R^   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   testUnaryOpsn  s2    	





c         C   sã  t  ƒ  } g  t (t | ƒ |  j d | f f g ƒ g  t (t | ƒ |  j d | f f g ƒ g  t (t | ƒ |  j d | f f g ƒ g  t (| d k |  j d | d f f d | d f f g ƒ g  t (| d k  |  j d | d f f d | d f f g ƒ g  t (| d k |  j d | d f f d | d f f g ƒ g  t (t d ƒ |  j d | d f f d | d f f g ƒ g  t (| d k |  j d | d f f d | d f f g ƒ g  t (d | k |  j d | d f f d d | f f g ƒ g  t (d | k  |  j d | d f f d d | f f g ƒ g  t (d | k |  j d | d f f d d | f f g ƒ g  t (t d ƒ |  j d | d f f d d | f f g ƒ g  t (d | k |  j d | d f f d d | f f g ƒ d  S(	   NR1   R3   R2   i   R.   R;   s   testme <> 1s   1 <> testme(   R,   R$   R/   RB   t   reprt   strt   eval(   R-   R^   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   testMisc‹  sP    	



+
+
+
+
+
+
+
+
+
c         C   s¥   d t  f d „  ƒ  Y} | ƒ  } g  t (| j |  j d | d f f g ƒ g  t (d | _ |  j d | d d f f g ƒ g  t (| ` |  j d | d	 f f g ƒ d  S(
   Nt
   ExtraTestsc           B   s5   e  Z e d  „  ƒ Z e d „  ƒ Z e d „  ƒ Z RS(   c         W   s   d S(   Nt   SomeVal(    (   R-   R'   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   __getattr__Æ  s    c         W   s   d  S(   N(    (   R-   R'   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   __setattr__Ê  s    c         W   s   d  S(   N(    (   R-   R'   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   __delattr__Î  s    (   R&   R<   R+   R‡   Rˆ   R‰   (    (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyR…   Å  s   R‡   t   spams   spam, spam, spam and hamRˆ   t   eggsR‰   t   cardinal(   R,   R$   RŠ   RB   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_class.pyt   testGetSetAndDelÃ  s    		c            sX   g  ‰  d d ‡  f d †  ƒ  Y} | ƒ  } ~ d d  l  } | j ƒ  |  j d g ˆ  ƒ d  S(   Nt   DelTestc              s   e  Z ‡  f d  †  Z RS(   c            s   ˆ  j  d ƒ d  S(   Ns   crab people, crab people(   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_class.pyt   __del__å  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_class.pyRŽ   ä  s   iÿÿÿÿs   crab people, crab people(    (   t   gct   collectt   assertEqual(   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_class.pyt   testDelá  s    	
c         C   sS   d d d „  ƒ  Y} x9 t  t t t t t t g D] } |  j t | | ƒ  ƒ q/ Wd  S(   Nt   BadTypeClassc           B   s5   e  Z d  „  Z e Z e Z e Z e Z e Z e Z RS(   c         S   s   d  S(   N(   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_class.pyR4   ð  s    (	   R&   R<   R4   R5   R6   R2   R3   R8   R:   (    (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyR•   ï  s   	(    (	   R{   R}   R|   R‚   R�   R~   R   t   assertRaisesRi   (   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_class.pyt   testBadTypeReturnedí  s    
"c         C   sÄ   d d d „  ƒ  Y} | ƒ  } g  t  (t | ƒ } |  j t | ƒ t ƒ |  j | d ƒ |  j d | f f g ƒ g  t  (t | ƒ } |  j t | ƒ t ƒ |  j | d ƒ |  j d | f f g ƒ d  S(   Nt   IntLongMixClassc           B   s&   e  Z e d  „  ƒ Z e 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_class.pyR4   ÿ  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_class.pyR6     s    (   R&   R<   R+   R4   R6   (    (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyR˜   þ  s   l   * R4   i@   R6   (    (   R$   R{   R“   t   typeR|   RB   (   R-   R˜   t   mixIntAndLongt   as_intt   as_long(    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   testMixIntsAndLongsü  s    		c         C   sv   d d d „  ƒ  Y} t  | ƒ  ƒ d d d „  ƒ  Y} |  j t t  | ƒ  ƒ d d	 d „  ƒ  Y} |  j t t  | ƒ  ƒ d  S(
   Nt   C0c           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_class.pyRž     s   t   C1c           B   s   e  Z d  „  Z RS(   c         S   s   d S(   Ni    (    (   R-   t   other(    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyR;     t    (   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_class.pyRŸ     s   t   C2c           B   s   e  Z d  „  Z RS(   c         S   s   d S(   Ni   (    (   R-   R    (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   __eq__$  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_class.pyR¢   #  s   (    (    (    (   R/   R–   Ri   (   R-   Rž   RŸ   R¢   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   testHashStuff  s    c         C   sX   d d d „  ƒ  Y} | ƒ  | _  | ƒ  } y | ƒ  Wn t k
 rF n X|  j d ƒ d  S(   NRn   c           B   s   e  Z RS(    (   R&   R<   (    (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyRn   ,  s   s   Failed to raise RuntimeError(    (   t   __call__t   RuntimeErrorR?   (   R-   Rn   Rv   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   testSFBug532646)  s    	c            sà   d „  ‰  d d ‡  f d †  ƒ  Y} y | ƒ  j  Wn9 t k
 rk } t | ƒ d k rl |  j d | ƒ ql n Xd d ‡  f d †  ƒ  Y} | ƒ  | ƒ  k d d ‡  f d	 †  ƒ  Y} y | ƒ  Wn t k
 rÎ } n X|  j d
 ƒ d  S(   Nc         S   s   t  d ƒ ‚ d  S(   Nt   booh(   t   AttributeError(   R-   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyR¨   ;  s    Rn   c              s   e  Z e ˆ  ƒ Z RS(    (   R&   R<   t   propertyRv   (    (   R¨   (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyRn   >  s   R¨   s(   attribute error for A().a got masked: %st   Ec              s   e  Z e ˆ  ƒ Z RS(    (   R&   R<   Rª   R£   (    (   R¨   (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyR«   F  s   t   Ic              s   e  Z e ˆ  ƒ Z RS(    (   R&   R<   Rª   RC   (    (   R¨   (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyR¬   J  s   s)   attribute error for I.__init__ got masked(    (    (    (   Rv   R©   R‚   R?   (   R-   Rn   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_class.pyt)   testForExceptionsRaisedInInstanceGetattr28  s    	c         C   sz  d d d „  ƒ  Y} d | f d „  ƒ  Y} | d ƒ } | d ƒ } |  j  | j | j ƒ |  j | j | j ƒ |  j | j | j ƒ |  j  | j | d ƒ j ƒ |  j  t | j ƒ t | j ƒ ƒ |  j  t | j ƒ t | d ƒ j ƒ ƒ |  j | j | j ƒ |  j | j | j ƒ |  j  | j | j ƒ |  j  t | j ƒ t | j ƒ ƒ | t | j j ƒ d Aƒ } t | j ƒ d  S(	   NRn   c           B   s5   e  Z d  „  Z d „  Z d „  Z d „  Z d „  Z RS(   c         S   s   | |  _  d  S(   N(   R�   (   R-   R�   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyRC   X  s    c         S   s   d  S(   N(    (   R-   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyR)   Z  s    c         S   s   d  S(   N(    (   R-   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   g\  s    c         S   s   |  j  | j  k 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_class.pyR£   ^  s    c         S   s   |  j  S(   N(   R�   (   R-   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyR1   `  s    (   R&   R<   RC   R)   R®   R£   R1   (    (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyRn   W  s
   				t   Bc           B   s   e  Z RS(    (   R&   R<   (    (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyR¯   b  s   i   i   iÿÿÿÿ(    (   R“   R)   t   assertNotEqualR®   R/   t   im_func(   R-   Rn   R¯   t   a1t   a2Rv   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   testHashComparisonOfMethodsU  s     "("c         C   sr   d d d „  ƒ  Y} xX | | ƒ  f D]G } |  j  t t | ƒ j | g  ƒ |  j  t t | ƒ j | g  g  ƒ q# Wd  S(   Nt   Cc           B   s   e  Z RS(    (   R&   R<   (    (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyRµ   x  s   (    (   R–   Ri   R™   t   __getattribute__Rˆ   (   R-   Rµ   t   c(    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   testAttrSlotsw  s    c         C   sØ   d t  f d „  ƒ  Y} d „  } d j t d ƒ ƒ } |  j | d ƒ t j | | | ƒ |  j | ƒ  d d ƒ d j t d ƒ ƒ } |  j | d ƒ |  j | | ƒ t j | | ƒ |  j t	 ƒ � | ƒ  d Wd  QXd  S(   NRn   c           B   s   e  Z RS(    (   R&   R<   (    (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyRn   €  s   c         S   s   d S(   Nt   summa(    (   R-   R    (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyR   ƒ  s    R¡   RF   i   R¹   (
   t   objectt   joint   listt   assertIsNotR™   Rˆ   R“   R‰   R–   Ri   (   R-   Rn   R   t   namet   name2(    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   testSetattrWrapperNameIntern~  s    	c         C   s~   d t  f d „  ƒ  Y} d „  } t j | d | ƒ |  j | ƒ  d d ƒ t j | d ƒ |  j t ƒ � | ƒ  d Wd  QXd  S(   NRn   c           B   s   e  Z RS(    (   R&   R<   (    (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyRn   •  s   c         S   s   d S(   NR¹   (    (   R-   R    (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyR   ˜  s    u   __add__i   R¹   (   Rº   R™   Rˆ   R“   R‰   R–   Ri   (   R-   Rn   R   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   testSetattrWrapperNameUnicode’  s    	c         C   sI   d t  f d „  ƒ  Y} |  j t ƒ � t j | t d ƒ d  ƒ Wd  QXd  S(   NRn   c           B   s   e  Z RS(    (   R&   R<   (    (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyRn   £  s   R�   (   Rº   R–   Ri   R™   Rˆ   t	   bytearrayRk   (   R-   Rn   (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   testSetattrNonStringName¢  s    (   R&   R<   R>   RB   RE   R_   Rm   R    t   cpython_onlyRw   R€   R„   R�   R”   R—   R�   R¤   R§   R­   R´   R¸   RÀ   t   requires_unicodeRÁ   RÃ   (    (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyR=   „   s(   				g	g		8								"		c           C   s?   t  j d t f d t f d t f ƒ � t  j t ƒ Wd  QXd  S(   Ns)   .+__(get|set|del)slice__ has been removeds   classic int divisions   <> not supported(   R    t   check_py3k_warningst   DeprecationWarningt   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_class.pyt	   test_main©  s
    		t   __main__(   t   __doc__t   unittestt   testR    t	   testmethsR$   R+   R,   t   method_templatet   methodt   localst   __dict__t   TestCaseR=   RÉ   R&   (    (    (    s…   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_class.pyt   <module>   sd   		1ÿ ÿ '	