관리-도구
편집 파일: test_umath.cpython-37.pyc
B ��Fd� � @ sp d dl mZmZmZ d dlZd dlZd dlZd dlZd dlZd dl m Z d dlm m Z d dlmZ d dlZd dlmZmZmZmZmZmZmZmZmZmZmZm Z m!Z! dd� Z"G dd � d e#�Z$G d d� de�Z%G dd � d e�Z&G dd� de�Z'G dd� de�Z(dd� Z)dd� Z*G dd� de�Z+G dd� de�Z,G dd� de�Z-G dd� de�Z.G dd� de�Z/G d d!� d!e�Z0G d"d#� d#e$�Z1G d$d%� d%e�Z2G d&d'� d'e�Z3G d(d)� d)e$�Z4G d*d+� d+e�Z5G d,d-� d-e�Z6G d.d/� d/ee#�Z7d0d1� Z8d2d3� Z9G d4d5� d5e�Z:d6d7� Z;d8d9� Z<d:d;� Z=d<d=� Z>d>d?� Z?G d@dA� dAe�Z@G dBdC� dCe�ZAG dDdE� dEe$�ZBG dFdG� dGe$�ZCG dHdI� dIe$�ZDG dJdK� dKe$�ZEG dLdM� dMe�ZFG dNdO� dOe�ZGG dPdQ� dQe�ZHG dRdS� dSe�ZIG dTdU� dUe�ZJG dVdW� dWe�ZKG dXdY� dYe�ZLG dZd[� d[e�ZMG d\d]� d]e�ZNG d^d_� d_e�ZOG d`da� dae�ZPG dbdc� dce�ZQG ddde� dee�ZRdfdg� ZSG dhdi� die#�ZTG djdk� dke�ZUG dldm� dme�ZVdndodpejWfdqdr�ZXdsdt� ZYdudv� ZZdwdx� Z[dydz� Z\e�]ejd{kd|�d}d~� �Z^dd�� Z_d�d�� Z`d�d�� Zad�d�� Zbe�]ejd{kd|�d�d�� �Zcd�d�� Zdd�d�� Zed�d�� Zfd�d�� Zgd�d�� Zhd�d�� Zid�d�� Zjd�d�� Zkeld�k�rle� dS )�� )�division�absolute_import�print_functionN)�_gen_alignment_data)�umath_tests) �TestCase�run_module_suite�assert_�assert_equal� assert_raises�assert_raises_regex�assert_array_equal�assert_almost_equal�assert_array_almost_equal�dec�assert_allclose�assert_no_warnings�suppress_warningsc C s t �� dkpt �� �d�S )z/ True if we are running on a Power PC platform.Zpowerpc�ppc)�platform� processor�machine� startswith� r r ��/builddir/build/BUILDROOT/alt-python37-numpy-1.13.3-8.el8.x86_64/opt/alt/python37/lib64/python3.7/site-packages/numpy/core/tests/test_umath.py� on_powerpc s r c @ s e Zd Zdd� Zdd� ZdS )�_FilterInvalidsc C s t jdd�| _d S )N�ignore)�invalid)�np�seterr�olderr)�selfr r r �setUp s z_FilterInvalids.setUpc C s t jf | j� d S )N)r r r! )r"