관리-도구
편집 파일: test_deprecations.cpython-311.pyc
� �܋f � � � d Z ddlZddlZddlmZ ddlmZ ddlm Z ddl Z ddlZ G d� d� � Z G d� d � � Z G d � d� � ZdS )z'Test deprecation and future warnings. � N)�assert_warns)�assert_equal)�MaskedArrayFutureWarningc �* � e Zd ZdZd� Zd� Zd� Zd� ZdS )�TestArgsortz gh-8701 c �� � t j d� � � |� � } ||� � t j g d�� � � |� � } ||� � t j ddgddgg� � � |� � }t t j j j ||� � }t | ||d �� � � � ||d �� � ||d�� � d S )N� )r � � r r � ��axis���)�np�array�viewr �ma�corer r )�self�argsort�cls�arr_0d�arr_1d�arr_2d�results �s/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/ma/tests/test_deprecations.py� _test_basezTestArgsort._test_base s� � ���!���!�!�#�&�&����������)�)�)�$�$�)�)�#�.�.�������� ��A�q�6�A�q�6�*�+�+�0�0��5�5����E�J�/��&�B� B���V�W�W�V�$�7�7�7�8�8�8� ���T�"�"�"�"����R� � � � � � � c �` � | � t j j t j � � S �N)r r r r �ndarray�r s r �test_function_ndarrayz!TestArgsort.test_function_ndarray s � ����r�u�}�b�j�9�9�9r c �j � | � t j j t j j � � S r )r r r r �MaskedArrayr"