ó
úR_c           @   sı   d  d l  m Z e j   d  d l Z e j   Z d e _ e j d k sP t  g  Z d   Z	 e j
 d e	  Z e j   e j   e d g k s  t d   e j d k sµ t  d S(   i˙˙˙˙(   t   monkeyNt   helloc           C   s`   y t  t d  t d   Wn t k
 r0 n Xt j i  k sO t t j   t j d  d  S(   Nt   xs%   localdata.x must raise AttributeErrori   (   t   getattrt	   localdatat   AssertionErrort   AttributeErrort   __dict__t   successt   append(    (    (    sc   /var/www/syncserver/local/lib/python2.7/site-packages/gevent/tests/test__threading_patched_local.pyt   func   s    i   s   test failed(   t   geventR    t	   patch_allt	   threadingt   localR   R   R   R   R
   t   Threadt   Nonet   tt   startt   join(    (    (    sc   /var/www/syncserver/local/lib/python2.7/site-packages/gevent/tests/test__threading_patched_local.pyt   <module>   s    
			

