Ë
    ÷U.jœ  ã                   ó¬  — d Z ddlZddlZddlZddlmZmZmZ ddl	Z	ddl
ZddlmZmZ  e e eej                  «      dd«      «      Zd„ Zej$                  j'                  ed¬	«      ej$                  j)                  d
¬	«      ej$                  j+                  d e«       «      d„ «       «       «       Zej$                  j'                  ed¬	«      d„ «       Zy)z\ Test scripts

Test that we can run executable scripts that have been installed with numpy.
é    N)ÚjoinÚisfileÚdirname)Úassert_equalÚIS_WASMz..zsetup.pyc                  ó˜  — t         j                  dk(  rmt        t         j                  «      } | j	                  d«      r!t
        j                  j                  | d«      gS t
        j                  j                  | dd«      gS t         j                  }t        |j                  «      }t        |j                  «      }dd|z   d|z   dz   |z   gS )NÚwin32ÚScriptsÚf2pyÚ.)ÚsysÚplatformr   Ú
executableÚendswithÚosÚpathr   Úversion_infoÚstrÚmajorÚminor)Úexe_dirÚversionr   r   s       úZC:\xampp\htdocs\tradingbinance\backend\.venv\Lib\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                 ó    — t        j                  | dg«      }t        |j                  «       t        j
                  j                  d«      «       y )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                  ó¾   — t        j                  t        j                  ddg«      } t	        | j                  «       t        j                  j                  d«      «       y )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   ÚpytestÚos.pathr   Úpathjoinr   r   r!   Únumpyr$   Únumpy.testingr   r   Ú__file__Ú
is_inplacer   ÚmarkÚskipifÚxfailÚparametrizer(   r*   © r   r   Ú<module>r8      sÕ   ðñó Û 	Û ß 5Ñ 5Û ã ß /á‘H™W R§[¡[Ó1°D¸*ÓEÓF€
òFð$ ‡�×Ñ�JÐ'IÐÓJØ‡�×ÑÐ.ÐÓ/Ø‡�×Ñ˜Ñ%7Ó%9Ó:ñAó ;ó 0ó KðAð ‡�×Ñ�GÐ$=ÐÓ>ñAó ?ñAr   