Server IP : 192.158.238.246 / Your IP : 3.148.217.26 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/python37/lib64/python3.7/site-packages/numpy/tests/__pycache__/ |
Upload File : |
B ��Fd � @ s� d Z ddlmZmZmZ ddlZddlmZm Z m Z mZ ddlZddl mZmZ ddlZddlmZ ddlmZ ddlmZ dd lmZ e ee ej�d d��Zdd d�Zee�dd� �ZdS )z\ Test scripts Test that we can run executable scripts that have been installed with numpy. � )�division�print_function�absolute_importN)�join�isfile�dirname�basename)�Popen�PIPE)� basestring)�assert_equal)�skipif)�assert_z..zsetup.pyTc C s� t | t�r| gnt| �} tjdkr0dd� | D �} t| ttd�}|�� \}}|�� dkr^|� � |r�|j dkr�td�dd d ddd d dg�� | ||���|j ||fS )ap Run command sequence `cmd` returning exit code, stdout, stderr Parameters ---------- cmd : str or sequence string with command name or sequence of strings defining command check_code : {True, False}, optional If True, raise error for non-zero return code Returns ------- returncode : int return code from execution of `cmd` stdout : bytes (python 3) or str (python 2) stdout from `cmd` stderr : bytes (python 3) or str (python 2) stderr from `cmd` Raises ------ RuntimeError If `check_code` is True, and return code !=0 �ntc S s"