403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/numpy/ma/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/numpy/ma/tests/__pycache__/test_deprecations.cpython-311.pyc
�

���c
���dZddlZddlZddlmZddlmZddlm	Z	ddl
Z
ddlZGd�d��ZGd�d	��Z
Gd
�d��ZdS)z'Test deprecation and future warnings.

�N)�assert_warns)�assert_equal)�MaskedArrayFutureWarningc�*�eZdZdZd�Zd�Zd�Zd�ZdS)�TestArgsortz	 gh-8701 c���tjd���|��}||��tjgd����|��}||��tjddgddgg���|��}ttjjj||��}t|||d�����||d���||d���dS)N�)r	��r
r���axis���)�np�array�viewr�ma�corerr)�self�argsort�cls�arr_0d�arr_1d�arr_2d�results       �B/usr/lib/python3/dist-packages/numpy/ma/tests/test_deprecations.py�
_test_basezTestArgsort._test_bases�����!���!�!�#�&�&����������)�)�)�$�$�)�)�#�.�.����������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�`�|�tjjtj��S�N)rrrr�ndarray�rs r�test_function_ndarrayz!TestArgsort.test_function_ndarrays�����r�u�}�b�j�9�9�9rc�j�|�tjjtjj��Sr )rrrr�MaskedArrayr"s r�test_function_maskedarrayz%TestArgsort.test_function_maskedarray"s�����r�u�}�b�e�.?�@�@�@rc�t�|�tjjjtjj��Sr )rrrr%rr"s r�test_methodzTestArgsort.test_method%s#�����r�u�0�8�"�%�:K�L�L�LrN)�__name__�
__module__�__qualname__�__doc__rr#r&r(�rrrrs]�������O�!�!�!�":�:�:�A�A�A�M�M�M�M�Mrrc��eZdZd�ZdS)�TestMinimumMaximumc��tj�d��}|�dd��}tjjj}tjjj}tt||��}t|||d�����tt||��}t|||d�����||��}t|||d�����t|||d�����||��}t|||d�����t|||d�����dS)N�r
rr
r)
rr�arange�reshape�minimum�reduce�maximumrrr)r�data1d�data2d�ma_min�ma_maxrs      r�test_axis_defaultz$TestMinimumMaximum.test_axis_default+sB������a��������1�%�%�����%�����%���6���G�G���V�V�V�F��6�6�6�7�7�7��6���G�G���V�V�V�F��6�6�6�7�7�7��������V�V�V�F��6�6�6�7�7�7��V�V�V�F��3�3�3�4�4�4��������V�V�V�F��6�6�6�7�7�7��V�V�V�F��3�3�3�4�4�4�4�4rN)r)r*r+r;r-rrr/r/)s#������5�5�5�5�5rr/c��eZdZd�ZdS)�TestFromtextfilec��tjtjd����}t	jt��5tjj	�
|d���}ddd��dS#1swxYwYdS)Nz�
            A,B,C,D
            'string 1';1;1.0;'mixed column'
            'string 2';2;2.0;
            'string 3';3;3.0;123
            'string 4';4;4.0;3.14
            �;)�	delimitor)�io�StringIO�textwrap�dedent�pytest�warns�DeprecationWarningrr�mrecords�fromtextfile)r�textfilers   r�test_fromtextfile_delimitorz,TestFromtextfile.test_fromtextfile_delimitorFs����;�x��
� 
� 
�����\�,�
-�
-�	J�	J��U�^�0�0��S�0�I�I�F�	J�	J�	J�	J�	J�	J�	J�	J�	J�	J�	J�	J����	J�	J�	J�	J�	J�	Js�'A4�4A8�;A8N)r)r*r+rKr-rrr=r=Es(������J�J�J�J�Jrr=)r,rE�numpyr�
numpy.testingr�numpy.ma.testutilsr�
numpy.ma.corerrArCrr/r=r-rr�<module>rPs�����
�
�
�����&�&�&�&�&�&�+�+�+�+�+�+�2�2�2�2�2�2�	�	�	�	�����M�M�M�M�M�M�M�M�:5�5�5�5�5�5�5�5�8J�J�J�J�J�J�J�J�J�Jr

Youez - 2016 - github.com/yon3zu
LinuXploit