%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/alt/python27/lib64/python2.7/site-packages/numpy/linalg/tests/
Upload File :
Create Path :
Current 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 


Zerion Mini Shell 1.0