관리-도구
편집 파일: test_strings.cpython-311.pyc
� �܋f� � �| � d dl Z d dlZd dlZd dlmZ ej ej dfej ej dfej ej dfej ej dfej ej dfej ej dfgZe j � g d �e� � d � � � Ze j � g d �e� � d� � � Ze j � g d �e� � e j � dg d �� � e j � dddg� � d� � � � � � � Ze j � g d �e� � e j � dg d�� � d� � � � � Ze j � dddg� � e j � dej d � � d� � � � � ZdS )� N)�assert_array_equalz==z!=�<z<=�>z>=)�op�ufunc�symc �d � t j ddgd�� � }t j ddgd�� � }t j t d�� � 5 |||� � d d d � � n# 1 swxY w Y t j t d�� � 5 |||� � d d d � � d S # 1 swxY w Y d S ) N�a�b�S��dtype�c�Uzdid not contain a loop)�match)�np�array�pytest�raises� TypeError)r r r � arr_string�arr_unicodes �p/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/core/tests/test_strings.py�(test_mixed_string_comparison_ufuncs_failr s= � ���3��*�C�0�0�0�J��(�C��:�S�1�1�1�K� ��y�(@� A� A� A� '� '� ��j�+�&�&�&�'� '� '� '� '� '� '� '� '� '� '���� '� '� '� '� ��y�(@� A� A� A� '� '� ��k�:�&�&�&�'� '� '� '� '� '� '� '� '� '� '� '���� '� '� '� '� '� 's$ � A%�%A)�,A)� B%�%B)�,B)c � � t j ddgd�� � }t j ddgd�� � } |||dd� � � } |||d d� � � } | |� d� � |� � }t ||� � t ||� � d S )Nr r r r r r zUU->?�unsafe)� signature�castingzSS->?)r r �astyper )r r r r r �res1�res2�expecteds r �.test_mixed_string_comparisons_ufuncs_with_castr# s� � ���3��*�C�0�0�0�J��(�C��:�S�1�1�1�K� �5��[�G�X�N�N�N�D��5��[�G�X�N�N�N�D��r�*�#�#�C�(�(�+�6�6�H��t�X�&�&�&��t�X�&�&�&�&�&� �dtypes)��S2r'