관리-도구
편집 파일: test__iotools.cpython-311.pyc
� �܋f�5 � �� � d dl Z d dlmZ d dlZd dlmZmZmZm Z d dl mZmZm Z mZmZmZ G d� d� � Z G d� d� � Zd � Z G d � d� � Z G d� d � � ZdS )� N)�date)�assert_�assert_equal�assert_allclose� assert_raises)�LineSplitter� NameValidator�StringConverter�has_nested_fields� easy_dtype� flatten_dtypec �6 � e Zd ZdZd� Zd� Zd� Zd� Zd� Zd� Z dS ) �TestLineSplitterzTests the LineSplitter class.c � � d} t � � |� � }t |g d�� � t d� � |� � }t |g d�� � dS )zTest LineSplitter w/o delimiter� 1 2 3 4 5 # test)�1�2�3�4�5� N�r r ��self�strg�tests �p/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/lib/tests/test__iotools.py�test_no_delimiterz"TestLineSplitter.test_no_delimiter se � �#���|�~�~�d�#�#���T�4�4�4�5�5�5��|�B����%�%���T�4�4�4�5�5�5�5�5� c � � d} t d� � |� � }t |g d�� � t d� � |� � }t |ddg� � dS )zTest space delimiterr � �r r r r r r z z1 2 3 4r Nr r s r �test_space_delimiterz%TestLineSplitter.test_space_delimiter sg � �#�� �|�C� � ��&�&���T�8�8�8�9�9�9�!�|�D�!�!�$�'�'���T�I�s�+�,�,�,�,�,r c � � d} t d� � |� � }t |g d�� � d} t d� � |� � }t |g d�� � dS )zTest tab delimiterz 1 2 3 4 5 6� )r r r r �5 6z 1 2 3 4 5 6)z1 2�3 4r&