HEX
Server: LiteSpeed
System: Linux standart9.isimtescil.net 3.10.0-962.3.2.lve1.5.26.7.el7.x86_64 #1 SMP Wed Oct 2 07:53:12 EDT 2019 x86_64
User: karalev (5310)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //opt/alt/python27/lib64/python2.7/site-packages/numpy/linalg/tests/test_build.pyc
�
�9Zc@`s�ddlmZmZmZddlmZmZddlZddlZddl	m
Z
ddlmZm
Z
mZddlmZdefd��YZd	efd
��YZedkr�e�ndS(i(tdivisiontabsolute_importtprint_function(tPIPEtPopenN(tlapack_lite(tTestCasetdectrun_module_suite(tasbytes_nestedtFindDependenciesLddcB`s#eZd�Zd�Zd�ZRS(cC`shdg|_y1t|jdtdt�}|j�\}}Wn$tk
rctd|j��nXdS(Ntlddtstdouttstderrscommand %s cannot be run(tcmdRRtcommunicatetOSErrortRuntimeError(tselftpRR
((sP/opt/alt/python27/lib64/python2.7/site-packages/numpy/linalg/tests/test_build.pyt__init__s
cC`sZt|j|gdtdt�}|j�\}}|jdksVtd|��n|S(NRR
is failed dependencies check for %s(RRRRt
returncodeR(RtlfileRRR
((sP/opt/alt/python27/lib64/python2.7/site-packages/numpy/linalg/tests/test_build.pytget_dependenciess
"c
C`s�|j|�}tg|D]}|tj|�f^q�}g}xP|j�D]B}x9|j�D]+\}}	|	j|�rc|j|�qcqcWqPW|S(N(Rtdicttretcompilet
splitlinestitemstsearchtappend(
RRtdepsRtdeptrdepstfoundstltktv((sP/opt/alt/python27/lib64/python2.7/site-packages/numpy/linalg/tests/test_build.pytgrep_dependencies s.(t__name__t
__module__RRR&(((sP/opt/alt/python27/lib64/python2.7/site-packages/numpy/linalg/tests/test_build.pyR

s			tTestF77MismatchcB`s1eZejejd dkd�d��ZRS(itlinuxs8Skipping fortran compiler mismatch on non Linux platformcC`sJt�}|jtjtddg��}|jt|�dkd�dS(Ntlibg2ctlibgfortranis�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.(R
R&Rt__file__R	tassertFalsetlen(RtfR((sP/opt/alt/python27/lib64/python2.7/site-packages/numpy/linalg/tests/test_build.pyttest_lapack/s
	(R'R(RtskipiftsystplatformR1(((sP/opt/alt/python27/lib64/python2.7/site-packages/numpy/linalg/tests/test_build.pyR)-st__main__(t
__future__RRRt
subprocessRRR3Rtnumpy.linalgRt
numpy.testingRRRtnumpy.compatR	tobjectR
R)R'(((sP/opt/alt/python27/lib64/python2.7/site-packages/numpy/linalg/tests/test_build.pyt<module>s