관리-도구
편집 파일: test_io.cpython-37.pyc
B ��Fda. � @ s� d dl mZmZmZ d dlZd dlZd dlZd dlZd dlm Z d dl Z d dlZd dlZd dl mZ d dlmZ d dlZd dlmZ d dlmZmZ d dlmZmZmZmZ d dlmZ d d lmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z* G d d� de�Z+ej,dd� \Z-Z.ej/d kZ0d+dd�Z1G dd� de2�Z3G dd� de3e�Z4G dd� de3e�Z5G dd� de�Z6G dd� de�Z7G dd� de�Z8G dd� de�Z9G dd� de�Z:d d!� Z;d"d#� Z<d$d%� Z=d&d'� Z>d(d)� Z?e@d*k�r�e � dS ),� )�division�absolute_import�print_functionN)�NamedTemporaryFile)�BytesIO)�datetime)�ConverterError�ConversionWarning)�asbytes�bytes�unicode�Path)�assert_equal)�TestCase�run_module_suite�assert_warns�assert_�assert_raises_regex� assert_raises�assert_allclose�assert_array_equal�temppath�dec�IS_PYPY�suppress_warningsc @ s* e Zd ZdZd dd�Zdd� Zdd� Zd S )�TextIOz�Helper IO class. Writes encode strings to bytes if needed, reads return bytes. This makes it easier to emulate files opened in binary mode without needing to explicitly convert strings to bytes in setting up the test data. � c C s t �| t|�� d S )N)r �__init__r )�self�s� 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_io.pyr # s zTextIO.__init__c C s t �| t|�� d S )N)r �writer )r r r r r! r"