PATH:
opt
/
alt
/
python37
/
lib64
/
python3.7
/
site-packages
/
numpy
/
core
/
tests
/
__pycache__
B ��FdXM � @ sJ d dl mZmZmZ d dlZd dlZd dlZd dlm m Z d dlm Z mZmZmZmZmZ ejdd��8 e�eejd ��jd kp�e�eejd ��jejkZW dQ R X ej�d� p�eZdd� ZG d d � d e�Z G dd� de �Z!G d d� de�Z"G dd� de �Z#G dd� de�Z$G dd� de�Z%ddd�Z&ddd�Z'e(dk�rFe� dS )� )�division�absolute_import�print_functionN)�TestCase�run_module_suite�assert_equal�assert_array_equal�assert_almost_equal�dec�ignore)�all�linuxc C s t �td�| �S )Nz�Numpy is using complex functions (e.g. sqrt) provided by yourplatform's C library. However, they do not seem to behave accordingto C99 -- so C99 tests are skipped.)r �skipif�skip_complex_tests)�func� 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_complex.py� platform_skip s r c @ s4 e Zd Zdd� Zedd� �Ze�dd�dd� �Zd S ) �TestCexpc c s� t }tj}||ddt�d�ddfV ||ddt�d�t�d�dfV t�d�t�t�d�t�d�� }||dd|j|jdfV d S )N� r F)�check_complex_value�np�exp�cos�sin�complex�real�imag)�self�check�f�refr r r �test_simple"