ó
úR_c           @@ sd   d  d l  m Z m Z d  d l Z d  d l Z d e j f d     YZ e d k r` e j   n  d S(   i    (   t   absolute_importt   print_functionNt   TestDestroyHubc           B@ s   e  Z d    Z RS(   c         C@ s1  t  j   } |  j | j j  | j } | j } |  j |  | j   t  j   } |  j | j j  |  j | j |  | j d t	  t  j d t	  } |  j | j j  |  j
 | j |  |  j
 | j j | j  |  j | j j | j  | j d t	  t  j   } |  j | j j  | j   d  S(   Nt   destroy_loopt   default(   t   geventt   get_hubt
   assertTruet   loopR   t
   threadpoolt   assertIsNotNonet   destroyt   assertIst   Truet   assertIsNott   ptrt   assertNotEqual(   t   selft   hubt   initloopt   tp(    (    sS   /var/www/syncserver/local/lib/python2.7/site-packages/gevent/tests/test__destroy.pyt   test_destroy_hub   s&    		
(   t   __name__t
   __module__R   (    (    (    sS   /var/www/syncserver/local/lib/python2.7/site-packages/gevent/tests/test__destroy.pyR      s   t   __main__(	   t
   __future__R    R   R   t   unittestt   TestCaseR   R   t   main(    (    (    sS   /var/www/syncserver/local/lib/python2.7/site-packages/gevent/tests/test__destroy.pyt   <module>   s
   ,