관리-도구
편집 파일: test_extras.cpython-37.pyc
B ��Fd�� � @ s d Z ddlmZmZmZ ddlZddlZddlZddl m Z mZmZm Z mZ ddlmZmZmZmZ ddlmZmZmZmZmZmZmZmZmZmZmZ ddl m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z>m?Z? ddl m@ mAZB G dd � d e �ZCG d d� de �ZDG dd � d e �ZEG dd� de �ZFG dd� de �ZGG dd� de �ZHG dd� de �ZIG dd� de �ZJG dd� de �ZKG dd� de �ZLG dd� de �ZMG dd� de �ZNG d d!� d!e �ZOePd"k�re� dS )#z�Tests suite for MaskedArray. Adapted from the original test_ma by Pierre Gerard-Marchant :author: Pierre Gerard-Marchant :contact: pierregm_at_uga_dot_edu :version: $Id: test_extras.py 3473 2007-10-29 15:18:13Z jarrod.millman $ � )�division�absolute_import�print_functionN)�TestCase�run_module_suite�assert_warns�suppress_warnings� assert_raises)�assert_�assert_array_equal�assert_equal�assert_almost_equal)�array�arange�masked�MaskedArray�masked_array�getmaskarray�shape�nomask�ones�zeros�count)� atleast_1d� atleast_2d� atleast_3d�mr_�dot�polyfit�cov�corrcoef�median�average�unique�setxor1d� setdiff1d�union1d�intersect1d�in1d�ediff1d�apply_over_axes�apply_along_axis�compress_nd�compress_rowcols�mask_rowcols�clump_masked�clump_unmasked�flatnotmasked_contiguous�notmasked_contiguous�notmasked_edges� masked_all�masked_all_like�isin�diagflatc @ s<