관리-도구
편집 파일: test_subclassing.cpython-37.pyc
B ��Fd�6 � @ s d Z ddlmZmZmZ ddlZddlmZm Z m Z mZ ddlm Z ddlmZmZmZmZmZmZmZmZmZmZmZmZ G dd� dej�ZeZG d d � d e�ZG dd� dee�ZeZ G d d� deej!�Z"e"Z#G dd� de$�Z%G dd� de�Z&G dd� de�Z'e(dk�re � dS )z�Tests suite for MaskedArray & subclassing. :author: Pierre Gerard-Marchant :contact: pierregm_at_uga_dot_edu :version: $Id: test_subclassing.py 3473 2007-10-29 15:18:13Z jarrod.millman $ � )�division�absolute_import�print_functionN)�TestCase�run_module_suite� assert_raises�dec)�assert_equal)�array�arange�masked�MaskedArray�masked_array�log�add�hypot�divide�asarray� asanyarray�nomaskc s@ e Zd Zi fdd�Z� fdd�Z� fdd�Z� fdd�Z� ZS ) �SubArrayc C s t �|��| �}|�� |_|S )N)�npr �view�copy�info)�cls�arrr �x� r ��/builddir/build/BUILDROOT/alt-python37-numpy-1.13.3-8.el8.x86_64/opt/alt/python37/lib64/python3.7/site-packages/numpy/ma/tests/test_subclassing.py�__new__ s zSubArray.__new__c s<