관리-도구
편집 파일: test_ufunc.cpython-37.pyc
B ��Fd�� � @ s� d dl mZmZmZ d dlZd dlZd dlZd dlm m Z d dlm m Z d dlmZmZmZ d dlmZmZmZmZmZmZmZmZmZmZ G dd� de�ZG dd� de�Ze d kr�e� dS ) � )�division�absolute_import�print_functionN)�rational�test_add�test_add_rationals) �TestCase�run_module_suite�assert_�assert_equal� assert_raises�assert_array_equal�assert_almost_equal�assert_array_almost_equal�assert_no_warnings�assert_allclosec @ s$ e Zd Zdd� Zdd� Zdd� ZdS )�TestUfuncKwargsc C s� t ttjdddd� t ttjddtjd� t ttjdddgd� t ttjddd d� t ttjddd d � t ttjddd d� t ttjdddd � t ttjdddgd� d S )N� � �safe)Zcastingx)Zdtypexi )Zextobjx)Zoutxzii->i)Zsigx)Z signaturexF)ZsubokxT)Zwherex)r � TypeError�np�add�int)�self� 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_ufunc.py�test_kwarg_exact s z TestUfuncKwargs.test_kwarg_exactc C s t ttjddddd� d S )Nr r zii->i)�sig� signature)r � ValueErrorr r )r r r r �test_sig_signature s z"TestUfuncKwargs.test_sig_signaturec C s4 t ttjdddtjd� t ttjdddtjd� d S )Nr r zii->i)r �dtype)r r"