ó
    mñ:i�  ã                   ó¢  • S r SSKrSSKrSSKrSSKJrJr  SSKJr  SSK	r	SSK
rSSKJrJr  \" \" \" \R                  5      SS5      5      rS r\	R$                  R'                  \S	S
9\	R$                  R)                  SS
9\	R$                  R+                  S\" 5       5      S 5       5       5       r\	R$                  R'                  \SS
9S 5       rg)z[Test scripts

Test that we can run executable scripts that have been installed with numpy.
é    N)ÚdirnameÚisfile)Újoin)ÚIS_WASMÚassert_equalz..zsetup.pyc                  ó¤  • [         R                  S:X  ar  [        [         R                  5      n U R	                  S5      (       a!  [
        R                  R                  U S5      /$ [
        R                  R                  U SS5      /$ [         R                  n[        UR                  5      n[        UR                  5      nSSU-   SU-   S-   U-   /$ )NÚwin32ÚScriptsÚf2pyÚ.)ÚsysÚplatformr   Ú
executableÚendswithÚosÚpathr   Úversion_infoÚstrÚmajorÚminor)Úexe_dirÚversionr   r   s       Ú[/srv/projetos/modelo_ml_acdoc/venv/lib/python3.13/site-packages/numpy/tests/test_scripts.pyÚfind_f2py_commandsr      s§   € Ü
‡|�|�wÓÜœ#Ÿ.™.Ó)ˆØ×Ñ˜I×&Ñ&Ü—G‘G—L‘L ¨&Ó1Ð2Ð2ä—G‘G—L‘L ¨)°VÓ<Ð=Ð=ô ×"Ñ"ˆÜ�G—M‘MÓ"ˆÜ�G—M‘MÓ"ˆØ˜ ™¨°©¸Ñ(<¸uÑ(DÐEÐEó    z Cannot test f2py command inplace)ÚreasonzTest is unreliableÚf2py_cmdc                 ó¢   • [         R                  " U S/5      n[        UR                  5       [        R
                  R                  S5      5        g )Nú-vÚascii)Ú
subprocessÚcheck_outputr   ÚstripÚnpÚ__version__Úencode)r   Ústdouts     r   Ú	test_f2pyr(   %   s8   € ô
 ×$Ò$ h°Ð%5Ó6€FÜ�—‘“¤§¡×!6Ñ!6°wÓ!?Õ@r   zCannot start subprocessc                  óÀ   • [         R                  " [        R                  SS/5      n [	        U R                  5       [        R                  R                  S5      5        g )Nz-mnumpy.f2pyr   r    )	r!   r"   r   r   r   r#   r$   r%   r&   )r'   s    r   Útest_pep338r*   .   s<   € ä×$Ò$¤c§n¡n°nÀdÐ%KÓL€FÜ�—‘“¤§¡×!6Ñ!6°wÓ!?Õ@r   )Ú__doc__r   r!   r   Úos.pathr   r   r   ÚpathjoinÚpytestÚnumpyr$   Únumpy.testingr   r   Ú__file__Ú
is_inplacer   ÚmarkÚskipifÚxfailÚparametrizer(   r*   © r   r   Ú<module>r8      sÕ   ðñó 
Û Û 
ß #Ý $ã ã ß /á‘H™W R§[¡[Ó1°4¸ÓDÓE€
òFð$ ‡�×Ñ�JÐ'IÐÐJØ‡�×ÑÐ.ÐÐ/Ø‡�×Ñ˜Ñ%7Ó%9Ó:ñAó ;ó 0ó KðAð ‡�×Ñ�GÐ$=ÐÐ>ñAó ?ñAr   