| Server IP : 54.37.205.81 / Your IP : 216.73.216.76 Web Server : nginx/1.22.1 System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64 User : debian ( 1000) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/numpy/tests/__pycache__/ |
Upload File : |
�
���cm � �� � 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 �:/usr/lib/python3/dist-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"