Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
numpy
/
tests
/
__pycache__
[ HOME ]
Exec
Submit
test_scripts.cpython-311.pyc
� � hm � �� � d Z ddlZddlZddlZddlmZmZmZ ddl Z ddl Zddlm Z mZ e e eej � � dd� � � � Zd� Zej � ed� � � ej � d � � � ej � d e� � � � d� � � � � � � Zej � ed � � � d� � � ZdS )z\ Test scripts Test that we can run executable scripts that have been installed with numpy. � N)�join�isfile�dirname)�assert_equal�IS_WASMz..zsetup.pyc � � t j dk rqt t j � � } | � d� � r!t j � | d� � gS t j � | dd� � gS t j }t |j � � }t |j � � }dd|z d|z dz |z gS )N�win32�Scripts�f2py�.)�sys�platformr � executable�endswith�os�pathr �version_info�str�major�minor)�exe_dir�versionr r s �k/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib64/python3.11/site-packages/numpy/tests/test_scripts.py�find_f2py_commandsr s� � � �|�w����#�.�)�)�����I�&�&� >��G�L�L��&�1�1�2�2��G�L�L��)�V�<�<�=�=� �"���G�M�"�"���G�M�"�"����������(<�u�(D�E�E� z Cannot test f2py command inplace)�reasonzTest is unreliable�f2py_cmdc � � t j | dg� � }t |� � � t j � d� � � � d S )N�-v�ascii)� subprocess�check_outputr �strip�np�__version__�encode)r �stdouts r � test_f2pyr( # sG � � � $�h��%5� 6� 6�F���������!6�!6�w�!?�!?�@�@�@�@�@r zCannot start subprocessc �� � t j t j ddg� � } t | � � � t j � d� � � � d S )Nz-mnumpy.f2pyr r ) r! r"