ó
wÛjc           @   sē   d  d l  m Z d  d l m Z m Z d  d l Z d  d l Z d  d l Z d e j f d     YZ	 d   Z
 e d k rŪ e e j  d k rĪ e j e j d  n  e
   n  d S(	   iĸĸĸĸ(   t   test_support(   t   bigaddrspacetestt   MAX_Py_ssize_tNt   StrTestc           B   s&   e  Z e d     Z e d    Z RS(   c         C   s'   d t  } |  j t t j | d  d  S(   Nt   xt   ?(   R   t   assertRaisest   OverflowErrort   operatort   add(   t   selft   s1(    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigaddrspace.pyt   test_concat   s    
c         C   s   d t  } y | d } Wn t k
 r+ n X|  j d  y | d 7} Wn t k
 rZ n X|  j d  |  j t |  t   d  S(   NR   R   s    should have raised OverflowError(   R   R   t   failt   assertEqualt   len(   R
   R   (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigaddrspace.pyt   test_optimized_concat   s    
(   t   __name__t
   __module__R   R   R   (    (    (    s   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_bigaddrspace.pyR   	   s   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_bigaddrspace.pyt	   test_main(   s    t   __main__i   (   t   testR    t   test.test_supportR   R   t   unittestR   t   syst   TestCaseR   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_bigaddrspace.pyt   <module>   s   	