https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/numpy/linalg/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/numpy/linalg/tests/__pycache__/test_build.cpython-310.pyc
o

6��a^�@s`ddlmZmZddlZddlZddlZddlmZddlm	Z	Gdd�d�Z
Gdd�d�ZdS)	�)�PIPE�PopenN)�lapack_lite)�assert_c@s$eZdZdd�Zdd�Zdd�ZdS)�FindDependenciesLddc
CsXdg|_zt|jttd�}|��\}}WdSty+}z
td|j�d��|�d}~ww)N�ldd��stdout�stderrzcommand z cannot be run)�cmdrr�communicate�OSError�RuntimeError)�self�pr	r
�e�r�?/usr/lib/python3/dist-packages/numpy/linalg/tests/test_build.py�__init__s��zFindDependenciesLdd.__init__cCs>t|j|gttd�}|��\}}|jdkstd|����|S)Nrrzfailed dependencies check for )rrrr�
returncoder)r�lfilerr	r
rrr�get_dependenciess

z$FindDependenciesLdd.get_dependenciesc	CsX|�|�}tdd�|D��}g}|��D]}|��D]\}}|�|�r(|�|�qq|S)NcSsg|]	}|t�|�f�qSr)�re�compile)�.0�deprrr�
<listcomp> sz9FindDependenciesLdd.grep_dependencies.<locals>.<listcomp>)r�dict�
splitlines�items�search�append)	rr�depsr	�rdeps�founds�l�k�vrrr�grep_dependenciess


��z%FindDependenciesLdd.grep_dependenciesN)�__name__�
__module__�__qualname__rrr(rrrrr
s	rc@s4eZdZejjejdd�dkdd�dd��ZdS)�TestF77MismatchN��linuxz)no fortran compiler on non-Linux platform)�reasoncCs.t�}|�tjddg�}tt|�dkd�dS)Nslibg2cslibgfortran�z�Both g77 and gfortran runtimes linked in lapack_lite ! This is likely to
cause random crashes and wrong results. See numpy INSTALL.txt for more
information.)rr(r�__file__r�len)r�fr"rrr�test_lapack,s��zTestF77Mismatch.test_lapack)	r)r*r+�pytest�mark�skipif�sys�platformr4rrrrr,*s
�r,)�
subprocessrrr8rr5�numpy.linalgr�
numpy.testingrrr,rrrr�<module>s 

https://t.me/RX1948 - 2025