+
    ei  c                   s   R t ^ RIt^ RIt^ RIt^ RIHtHt ^ RIHt ^ RI	t	^ RI
t^ RIHtHt ]! ]! ]! ]P                  4      RR4      4      tR t]	P$                  P'                  ]RR	7      ]	P$                  P)                  R
R	7      ]	P$                  P+                  R]! 4       4      R 4       4       4       t]	P$                  P'                  ]RR	7      R 4       tR# )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                  s   \         P                  R 8X  dt   \        \         P                  4      p V P	                  R4      '       d"   \
        P                  P                  V R4      .# \
        P                  P                  V RR4      .# \         P                  p\        VP                  4      p\        VP                  4      pRRV,           RV,           R,           V,           .# )Zwin32ZScriptsZf2pyZ.)sysZplatformr    
executableZendswithosZpathr   Zversion_infoZstrmajorminor)Zexe_dirZversionr   r	   s       ?/usr/lib64/python3.14/site-packages/numpy/tests/test_scripts.pyfind_f2py_commandsr      s    
||w#..)I&&GGLL&122GGLL)V<== ""GMM"GMM"(<u(DEE    z Cannot test f2py command inplace)ZreasonzTest is unreliablef2py_cmdc                 s    \         P                  ! V R .4      p\        VP                  4       \        P
                  P                  R4      4       R# )-vasciiN)
subprocesscheck_outputr   stripnp__version__encode)r   stdouts   & r
   	test_f2pyr   %   s8    
 $$h%56F!6!6w!?@r   zCannot start subprocessc                  s    \         P                  ! \        P                  R R.4      p \	        V P                  4       \        P                  P                  R4      4       R# )z-mnumpy.f2pyr   r   N)	r   r   r   r   r   r   r   r   r   )r   s    r
   test_pep338r   .   s<    $$cnnnd%KLF!6!6w!?@r   )Z__doc__r   r   r   Zos.pathr    r   r   ZpathjoinZpytestZnumpyr   Znumpy.testingr   r   Z__file__Z
is_inplacer   ZmarkZskipifZxfailZparametrizer   r   ) r   r
   <module>r      s    
  
 # $   /HWR[[14DE
F$ J'IJ./%7%9:A ; 0 KA G$=>A ?Ar   