ó
‹wÛjc           @   sÇ  d  Z  d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m	 Z	 m
 Z
 d d l m Z d d l m Z e j d ƒ Z d Z d Z d	 e j f d
 „  ƒ  YZ d e j e j f d „  ƒ  YZ d e	 f d „  ƒ  YZ e Z e e d ƒ rcd d l Z e Z e j j e j j  e! ƒ pAe j" d ƒ Z# d e f d „  ƒ  YZ$ n  e
 e d ƒ Z% e% d e f d „  ƒ  Yƒ Z& d e	 f d „  ƒ  YZ' d „  Z( e) d k rÃe( ƒ  n  d S(   s   Test script for poplib module.iÿÿÿÿN(   t   TestCaset
   skipUnless(   t   test_support(   t   HOSTt	   threadings   1 1
2 2
3 3
4 4
5 5
.
st   From: postmaster@python.org
Content-Type: text/plain
MIME-Version: 1.0
Subject: Dummy

line1
line2
line3
.
t   DummyPOP3Handlerc           B   s’   e  Z d  „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z d „  Z	 d „  Z
 d	 „  Z e Z d
 „  Z e Z d „  Z d „  Z d „  Z RS(   c         C   s:   t  j j |  | ƒ |  j d ƒ g  |  _ |  j d ƒ d  S(   Ns   
s   +OK dummy pop3 server ready.(   t   asynchatt
   async_chatt   __init__t   set_terminatort	   in_buffert   push(   t   selft   conn(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_poplib.pyR   #   s    	c         C   s   |  j  j | ƒ d  S(   N(   R
   t   append(   R   t   data(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_poplib.pyt   collect_incoming_data)   s    c         C   s®   d j  |  j ƒ } g  |  _ | j d ƒ d j ƒ  } | j d ƒ } | d k r` | | d } n d } t |  d | ƒ r™ t |  d | ƒ } | | ƒ n |  j d | ƒ d  S(   Nt    t    i    iÿÿÿÿi   t   cmd_s$   -ERR unrecognized POP3 command "%s".(   t   joinR
   t   splitt   lowert   findt   hasattrt   getattrR   (   R   t   linet   cmdt   spacet   argt   method(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_poplib.pyt   found_terminator,   s    	c         C   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_poplib.pyt   handle_error;   s    c         C   s   t  j j |  | d ƒ d  S(   Ns   
(   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_poplib.pyR   >   s    c         C   s   |  j  | ƒ 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_poplib.pyt   cmd_echoA   s    c         C   s-   | d k r |  j  d ƒ n  |  j  d ƒ d  S(   Nt   guidos   -ERR no such users   +OK password required(   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_poplib.pyt   cmd_userE   s    c         C   s-   | d k r |  j  d ƒ n  |  j  d ƒ d  S(   Nt   pythons   -ERR wrong passwords   +OK 10 messages(   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_poplib.pyt   cmd_passJ   s    c         C   s   |  j  d ƒ d  S(   Ns
   +OK 10 100(   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_poplib.pyt   cmd_statO   s    c         C   sD   | r  |  j  d | | f ƒ n  |  j  d ƒ t j j  |  t ƒ d  S(   Ns	   +OK %s %ss   +OK(   R   R   R   t	   LIST_RESP(   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_poplib.pyt   cmd_listR   s    c         C   s.   |  j  d t t ƒ ƒ t j j  |  t ƒ d  S(   Ns   +OK %s bytes(   R   t   lent	   RETR_RESPR   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_poplib.pyt   cmd_retr[   s    c         C   s   |  j  d ƒ d  S(   Ns    +OK message marked for deletion.(   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_poplib.pyt   cmd_delea   s    c         C   s   |  j  d ƒ d  S(   Ns   +OK done nothing.(   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_poplib.pyt   cmd_noopd   s    c         C   s   |  j  d ƒ d  S(   Ns   +OK done nothing.(   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_poplib.pyt   cmd_rpopg   s    (   t   __name__t
   __module__R   R   R   R    R   R!   R#   R%   R&   R(   t   cmd_uidlR+   t   cmd_topR,   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_poplib.pyR   !   s    													t   DummyPOP3Serverc           B   sb   e  Z e Z e j d  „ Z d „  Z d „  Z d „  Z	 d „  Z
 d „  Z e Z d „  Z d „  Z RS(   c         C   sˆ   t  j j |  ƒ t j j |  ƒ |  j | t j ƒ |  j | ƒ |  j	 d ƒ t
 |  _ t  j ƒ  |  _ |  j j ƒ  d  \ |  _ |  _ d  S(   Ni   i   (   R   t   ThreadR   t   asyncoret
   dispatchert   create_sockett   sockett   SOCK_STREAMt   bindt   listent   Falset   activet   Lockt   active_lockt   getsocknamet   hostt   port(   R   t   addresst   af(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_poplib.pyR   o   s    	c         C   s0   t  j ƒ  |  _ t  j j |  ƒ |  j j ƒ  d  S(   N(   R   t   Eventt   _DummyPOP3Server__flagR4   t   startt   wait(   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_poplib.pyRG   y   s    c         C   ss   t  |  _ |  j j ƒ  xF |  j r^ t j r^ |  j j ƒ  t j d d d d ƒ |  j j	 ƒ  q Wt j
 d t  ƒ d  S(   Nt   timeoutgš™™™™™¹?t   counti   t
   ignore_all(   t   TrueR=   RF   t   setR5   t
   socket_mapR?   t   acquiret   loopt   releaset	   close_all(   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_poplib.pyt   run   s    	c         C   s   t  |  _ |  j ƒ  d  S(   N(   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_poplib.pyt   stopˆ   s    	c         C   s2   |  j  ƒ  \ } } |  j | ƒ |  _ |  j ƒ  d  S(   N(   t   acceptt   handlert   close(   R   R   t   addr(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_poplib.pyt   handle_accept�   s    c         C   s   |  j  ƒ  d  S(   N(   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_poplib.pyt   handle_connect’   s    c         C   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_poplib.pyt   writable–   s    c         C   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_poplib.pyR    ™   s    (   R/   R0   R   RV   R8   t   AF_INETR   RG   RS   RT   RY   RZ   t   handle_readR[   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_poplib.pyR3   k   s   
							t   TestPOP3Classc           B   s¡   e  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 d „  Z d „  Z d „  Z d „  Z d „  Z RS(   c         C   s   |  j  | j d ƒ ƒ d  S(   Ns   +OK(   t
   assertTruet
   startswith(   R   t   resp(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_poplib.pyt   assertOKŸ   s    c         C   sG   t  t d f ƒ |  _ |  j j ƒ  t j |  j j |  j j ƒ |  _ d  S(   Ni    (	   R3   R   t   serverRG   t   poplibt   POP3RA   RB   t   client(   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_poplib.pyt   setUp¢   s    c         C   s   |  j  j ƒ  |  j j ƒ  d  S(   N(   Rf   t   quitRc   RT   (   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_poplib.pyt   tearDown§   s    c         C   s   |  j  |  j j ƒ  d ƒ d  S(   Ns   +OK dummy pop3 server ready.(   t   assertEqualRf   t
   getwelcome(   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_poplib.pyt   test_getwelcome«   s    c         C   s    |  j  t j |  j j d ƒ d  S(   Ns	   echo -err(   t   assertRaisesRd   t   error_protoRf   t	   _shortcmd(   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_poplib.pyt   test_exceptions®   s    c         C   s9   |  j  |  j j d ƒ ƒ |  j t j |  j j d ƒ d  S(   NR"   t   invalid(   Rb   Rf   t   userRm   Rd   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_poplib.pyt	   test_user±   s    c         C   s9   |  j  |  j j d ƒ ƒ |  j t j |  j j d ƒ d  S(   NR$   Rq   (   Rb   Rf   t   pass_Rm   Rd   Rn   Rr   (   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_poplib.pyt
   test_pass_µ   s    c         C   s   |  j  |  j j ƒ  d ƒ d  S(   Ni
   id   (   i
   id   (   Rj   Rf   t   stat(   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_poplib.pyt	   test_stat¹   s    c         C   sX   |  j  |  j j ƒ  d d d d d d g d f ƒ |  j |  j j d ƒ j d	 ƒ ƒ d  S(
   Ni   s   1 1s   2 2s   3 3s   4 4s   5 5i   t   1s   OK 1 1(   Rj   Rf   t   listR_   t   endswith(   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_poplib.pyt	   test_list¼   s    c      	   C   sG   d d d d d d d d d	 g d
 f } |  j  |  j j d ƒ | ƒ d  S(   Ns   +OK 116 bytess   From: postmaster@python.orgs   Content-Type: text/plains   MIME-Version: 1.0s   Subject: DummyR   t   line1t   line2t   line3iq   t   foo(   Rj   Rf   t   retr(   R   t   expected(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_poplib.pyt	   test_retrÁ   s    	c         C   s/   |  j  t j |  j j d t j d d ƒ d  S(   Ns   echo +%si
   t   a(   Rm   Rd   Rn   Rf   Ro   t   _MAXLINE(   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_poplib.pyt   test_too_long_linesÉ   s    c         C   s   |  j  |  j j d ƒ ƒ d  S(   NR   (   Rb   Rf   t   dele(   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_poplib.pyt	   test_deleÍ   s    c         C   s   |  j  |  j j ƒ  ƒ d  S(   N(   Rb   Rf   t   noop(   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_poplib.pyt	   test_noopÐ   s    c         C   s   |  j  |  j j d ƒ ƒ d  S(   NR   (   Rb   Rf   t   rpop(   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_poplib.pyt	   test_rpopÓ   s    c      	   C   sP   d d d } t  j |  j d | ƒ �$ |  j t j |  j j d d ƒ Wd  QXd  S(   Ns   +OKt   <i@B t   welcomeRƒ   t   kb(   R   t	   swap_attrRf   Rm   Rd   Rn   t   apop(   R   t   evil_welcome(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_poplib.pyt   test_apop_REDOSÖ   s    c      	   C   sJ   d d d d d d d d d	 g d
 f } |  j  |  j j d d ƒ | ƒ d  S(   Ns   +OK 116 bytess   From: postmaster@python.orgs   Content-Type: text/plains   MIME-Version: 1.0s   Subject: DummyR   R|   R}   R~   iq   i   (   Rj   Rf   t   top(   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_poplib.pyt   test_topà   s    		c         C   s!   |  j  j ƒ  |  j  j d ƒ d  S(   NR   (   Rf   t   uidl(   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_poplib.pyt	   test_uidlè   s    (   R/   R0   Rb   Rg   Ri   Rl   Rp   Rs   Ru   Rw   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_poplib.pyR^   �   s"   															
	t   POP3_SSLs   keycert.pemt   DummyPOP3_SSLHandlerc           B   s#   e  Z d  „  Z d „  Z d „  Z RS(   c         C   st   t  j j |  | ƒ t j |  j d t d t d t ƒ|  _ t |  _	 |  j
 ƒ  |  j d ƒ g  |  _ |  j d ƒ d  S(   Nt   certfilet   server_sidet   do_handshake_on_connects   
s   +OK dummy pop3 server ready.(   R   R   R   t   sslt   wrap_socketR8   t   CERTFILERL   R<   t   _ssl_acceptingt   _do_ssl_handshakeR	   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_poplib.pyR   ö   s    	
	c         C   s²   y |  j  j ƒ  Wn‘ t j k
 ro } | j d t j t j f k rI d  S| j d t j k ri |  j ƒ  S‚  n? t  j	 k
 r¤ } | j d t
 j k r® |  j ƒ  Sn
 Xt |  _ d  S(   Ni    (   R8   t   do_handshakeRœ   t   SSLErrort   argst   SSL_ERROR_WANT_READt   SSL_ERROR_WANT_WRITEt   SSL_ERROR_EOFt   handle_closet   errort   errnot   ECONNABORTEDR<   RŸ   (   R   t   err(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_poplib.pyR      s    
c         C   s'   |  j  r |  j ƒ  n t j |  ƒ d  S(   N(   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_poplib.pyR]     s    	(   R/   R0   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_poplib.pyR˜   ô   s   		s   SSL not supportedt   TestPOP3_SSLClassc           B   s   e  Z d  „  Z d „  Z RS(   c         C   sS   t  t d f ƒ |  _ t |  j _ |  j j ƒ  t j |  j j |  j j	 ƒ |  _
 d  S(   Ni    (   R3   R   Rc   R˜   RV   RG   Rd   R—   RA   RB   Rf   (   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_poplib.pyRg     s    c         C   s   |  j  d t j ƒ d  S(   NR—   (   t   assertInRd   t   __all__(   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_poplib.pyt   test__all__$  s    (   R/   R0   Rg   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_poplib.pyR¬     s   	t   TestTimeoutsc           B   s>   e  Z d  „  Z d „  Z d „  Z d „  Z d „  Z d „  Z RS(   c         C   s§   t  j ƒ  |  _ t j t j t j ƒ |  _ |  j j d ƒ t j	 |  j ƒ |  _
 t  j d |  j d |  j |  j f ƒ |  _ |  j j t ƒ |  j j ƒ  |  j j ƒ  d  S(   Ni<   t   targetR£   (   R   RE   t   evtR8   R\   R9   t   sockt
   settimeoutR   t	   bind_portRB   R4   Rc   t   threadt	   setDaemonRL   RG   RH   (   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_poplib.pyRg   *  s    *c         C   s   |  j  j ƒ  |  `  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_poplib.pyRi   4  s    c         C   sq   | j  d ƒ | j ƒ  zH y- | j ƒ  \ } } | j d ƒ | j ƒ  Wn t j k
 r] n XWd  | j ƒ  Xd  S(   Ni   s   + Hola mundo
(   R;   RM   RU   t   sendRW   R8   RI   (   R   R²   t   servR   RX   (    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_poplib.pyRc   8  s    
 c         C   st   |  j  t j ƒ  ƒ t j d ƒ z t j t |  j ƒ } Wd  t j d  ƒ X|  j	 | j
 j ƒ  d ƒ | j
 j ƒ  d  S(   Ni   (   t   assertIsNoneR8   t   getdefaulttimeoutt   setdefaulttimeoutRd   Re   R   RB   t   NoneRj   R³   t
   gettimeoutRW   (   R   t   pop(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_poplib.pyt   testTimeoutDefaultD  s    c         C   sw   |  j  t j ƒ  ƒ t j d ƒ z t j t |  j d d  ƒ} Wd  t j d  ƒ X|  j  | j	 j
 ƒ  ƒ | j	 j ƒ  d  S(   Ni   RI   (   Rº   R8   R»   R¼   Rd   Re   R   RB   R½   R³   R¾   RW   (   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_poplib.pyt   testTimeoutNoneN  s    c         C   sE   t  j t |  j d d ƒ} |  j | j j ƒ  d ƒ | j j ƒ  d  S(   NRI   i   (   Rd   Re   R   RB   Rj   R³   R¾   RW   (   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_poplib.pyt   testTimeoutValueX  s    (   R/   R0   Rg   Ri   Rc   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_poplib.pyR°   (  s   	
			
	
c          C   sA   t  t t g }  t j ƒ  } z t j |  Œ  Wd  t j | Œ  Xd  S(   N(   R^   R°   R¬   R   t   threading_setupt   run_unittestt   threading_cleanup(   t   testst   thread_info(    (    s†   /home/sim/yocto/scarthgap/build/tmp/work/x86_64-linux/python-native/2.7.18/recipe-sysroot-native/usr/lib/python2.7/test/test_poplib.pyt	   test_main^  s    	t   __main__(*   t   __doc__Rd   R5   R   R8   t   ost   timeR©   t   unittestR    R   t   testR   t   test.test_supportR   t   import_moduleR   R'   R*   R   R   R6   R4   R3   R^   R<   t   SUPPORTS_SSLR   Rœ   RL   t   pathR   t   dirnamet   __file__t   curdirRž   R˜   t   requires_sslR¬   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_poplib.pyt   <module>   s:   	J2P*$6	
