관리-도구
편집 파일: test_recfunctions.cpython-37.pyc
B ��Fd%z � @ s6 d dl mZmZmZ d dlZd dlmZ d dlm Z d dl mZ d dlm Z mZmZmZ d dlmZmZmZmZmZmZmZmZmZ ejjjZejjjZejjjZG dd� de �Z G 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&G dd� de �Z'e(dk�r2e� dS )� )�division�absolute_import�print_functionN)� MaskedRecords)�assert_equal)�TestCase�run_module_suite�assert_� assert_raises) �drop_fields� rename_fields�get_fieldstructure�recursive_fill_fields�find_duplicates�merge_arrays� append_fields�stack_arrays�join_byc @ sT e Zd Zdd� Zdd� Zdd� Zdd� Zd d � Zdd� Zd d� Z dd� Z dd� ZdS )�TestRecFunctionsc C st t �ddg�}t �dddg�}t jddgdd tfgd �}t jddgd tfddtfdtfgfgd �}||||f| _d S )N� � � � � )�Ag �?)�Bg @)r z|S3r )�dtype)r )r g @)� )� g @�a�b�ba�bb)�np�array�float�int�data)�self�x�y�z�w� r- ��/builddir/build/BUILDROOT/alt-python37-numpy-1.13.3-8.el8.x86_64/opt/alt/python37/lib64/python3.7/site-packages/numpy/lib/tests/test_recfunctions.py�setUp s zTestRecFunctions.setUpc C sH | j \}}}}t||fdd�}t|t�dtfdtfg�� t||fdd�}t|t�dtfdtfg�� t||fdd�}t|t�dtfddtfg�� t||fdd�}t|t�dtfdddtfgfg�� t||fdd�}t|t�dtfdtfdtfd tfg�� t||fdd�}t|t�dtfddtfd dtfd tfgfgfg�� d S )NT)�flatten� F)r z|S3r r r! r"