+
    LV-j'  ã                   óJ   € ^ RI t ^ RIt^ RIt^ RIt^ RIt^ RIt ! R R4      tR# )é    Nc                   ó¬   a € ] tR t^
t o RtR tR tR t]P                  P                  ]P                  P                  RR7      R 4       4       tRtV tR	# )
ÚTestGILzECheck if the GIL is properly released by scipy.interpolate functions.c                ó   € . V n         R # ©N©Úmessages)Úselfs   &Úq/Volumes/fast/ai/experiments/ui-tars-smoke/.venv/lib/python3.14/site-packages/scipy/interpolate/tests/test_gil.pyÚsetup_methodÚTestGIL.setup_method   s	   € ØˆŽó    c                ó<   € V P                   P                  V4       R # r   )r   Úappend)r	   Úmessages   &&r
   ÚlogÚTestGIL.log   s   € Ø�‰×Ñ˜WÖ%r   c                ój   aaa€ V P                   o ! VVV3R  lR\        P                  4      pV! 4       # )c                   ó2   <a € ] tR t^t o VVV3R ltRtV tR# )Ú0TestGIL.make_worker_thread.<locals>.WorkerThreadc                ó4   <€ S! R 4       S! S!   S! R4       R# )úinterpolation startedúinterpolation completeN© )r	   Úargsr   Útargets   &€€€r
   ÚrunÚ4TestGIL.make_worker_thread.<locals>.WorkerThread.run   s   ø€ ÙÐ+Ô,Ù˜’ÙÐ,Ö-r   r   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__r   r   r   s   @€€€r
   ÚWorkerThreadr      s   ù‡ € ÷.õ .r   r%   )r   Ú	threadingÚThread)r	   r   r   r%   r   s   &ff @r
   Úmake_worker_threadÚTestGIL.make_worker_thread   s-   ú€ Ø�h‰hˆ÷	.ñ 	.œ9×+Ñ+ô 	.ñ ‹~Ðr   z*race conditions, may depend on system load)Úreasonc                ó6  aa€ R  oVV3R lpR oV! ^R7      pV P                  SV4      pVP                  4        \        ^4       F*  p\        P                  ! R4       V P                  R4       K,  	  VP                  4        V P                  . RO8X  g   Q hR# )c                 ó|   € \         P                  ! ^ RV 4      ;r\         P                  ! W4      w  r4W4,          pWV3# )r   éè  )ÚnpÚlinspaceÚmeshgrid)Ún_pointsÚxÚyÚx_gridÚy_gridÚzs   &     r
   Úgenerate_paramsÚ9TestGIL.test_rectbivariatespline.<locals>.generate_params!   s7   € Ü—K’K  4¨Ó2Ð2ˆAÜŸ[š[¨Ó.‰NˆFØ•ˆAØ˜�7ˆNr   c                 óÔ   <€ \         P                  ! R R4       FK  pS! V4      p\        P                  ! 4       pS! V!   \        P                  ! 4       V,
          V 8”  g   KI  Vu # 	  R# )iˆ  r-   N)Ú	itertoolsÚcountÚtime)Úrequested_timer1   r   Útime_startedr7   Úinterpolates   &   €€r
   Úcalibrate_delayÚ9TestGIL.test_rectbivariatespline.<locals>.calibrate_delay'   sM   ø€ Ü%ŸOšO¨D°$Ö7�Ù& xÓ0�Ü#Ÿyšy›{�Ù˜TÒ"Ü—9’9“; Õ-°Ö>Ø’Kó 8r   c                 óF   € \         P                  P                  WV4       R # r   )Úscipyr?   ÚRectBivariateSpline)r2   r3   r6   s   &&&r
   r?   Ú5TestGIL.test_rectbivariatespline.<locals>.interpolate/   s   € Ü×Ñ×1Ñ1°!¸Ö:r   )r=   g      à?ÚworkingN)r   rF   rF   rF   r   )r(   ÚstartÚranger<   Úsleepr   Újoinr   )r	   r@   r   Úworker_threadÚir7   r?   s   &    @@r
   Útest_rectbivariatesplineÚ TestGIL.test_rectbivariatespline   sŠ   ù€ ò	ö	 ò	;ñ ¨aÔ0ˆØ×/Ñ/°¸TÓBˆØ×ÑÔÜ�q–ˆAÜ�JŠJ�sŒOØ�H‰H�YÖñ ð 	×ÑÔØ�}‰}ò !
ô 
ð 	
ò 
r   r   N)r   r   r    r!   Ú__doc__r   r   r(   ÚpytestÚmarkÚxslowÚxfailrM   r"   r#   )r$   s   @r
   r   r   
   sQ   ø‡ € ÙOòò&ò	ð ‡[�[×ÑØ‡[�[×ÑÐJÐÓKñ
ó Ló ö
r   r   )	r:   r&   r<   Únumpyr.   rP   Úscipy.interpolaterC   r   r   r   r
   Ú<module>rV      s!   ðÛ Û Û ã Û Û ÷5
ó 5
r   