관리-도구
편집 파일: test_defchararray.cpython-311.pyc
� �܋f�a � � � d dl Z d dlZd dlmZ d dlmZmZmZm Z m Z ddiZddiZ G d� d� � Z G d � d � � Z G d� d� � Z G d � d� � Z G d� d� � Z G d� de� � Z G d� de� � Z G d� d� � Z G d� d� � Z G d� d� � Zd� Ze j � ddgg d�� � d� � � ZdS ) � N��_vec_string)�assert_�assert_equal�assert_array_equal� assert_raises�assert_raises_regex�unicodeTFc �8 � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z dS ) � TestBasicc �� � t j ddgddggd�� � }t j � |� � }t |j j d� � t |dd gd dgg� � d S )N�abc� �long � 0123456789�O��dtype� � abc� 2s long� 0123456789)�np�array�charr r �itemsizer ��self�A�Bs �u/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/core/tests/test_defchararray.py�test_from_object_arrayz TestBasic.test_from_object_array s� � ��H�u�a�j� �,�/�1�8;� =� =� =���G�M�M�!�����Q�W�%�r�*�*�*��1���~� '��7�9� :� :� :� :� :� c �b � t j ddgddggd�� � }t t t j j |f� � t j j |fi t ��}t |j j dt j dd � � j j z � � t |ddgd dgg� � d S )Nr � Sigma Σr r r r r �a�U�long) r r r � ValueErrorr �kw_unicode_truer r r r r s r! �test_from_object_array_unicodez(TestBasic.test_from_object_array_unicode s� � ��H�u�n�-� �,�/�1�8;� =� =� =���j�"�'�-�!��6�6�6��G�M�!�/�/��/�/���Q�W�%�r�B�H�S�#�,>�,>�,D�,M�'M�N�N�N��1��~�6� &��5�7� 8� 8� 8� 8� 8r# c � � t j ddgddgg� � }t |j j t j � � t j � |� � }t ||� � t |j |j � � t |j |j � � d|d<