403Webshell
Server IP : 35.80.110.71  /  Your IP : 216.73.216.221
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/matplotlib/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/matplotlib/tests/__pycache__/test_api.cpython-312.pyc
�

G8�c���ddlZddlZddlZddlmZejjdgd��d��Zd�Z	d�Z
d�Zd	�Zd
�Z
d�Zy)�N)�_apiztarget,test_shape))�N)��)�Nr)r)r)r�))r�)r�	))NrN)rrrc��dt|��d�tjd|���z}tj|�}tjt|��5tj||��ddd�y#1swYyxYw)Nz^'aardvark' must be zD.*z
has shape ��match)�aardvark)
�len�re�escape�np�zeros�pytest�raises�
ValueErrorr�check_shape)�target�
test_shape�
error_pattern�datas    �;/usr/lib/python3/dist-packages/matplotlib/tests/test_api.py�test_check_shaper	so��,�C��K�=��<��Y�Y��J�<�8�9�:�M�
�8�8�J��D�	���z��	7�0�����$�/�0�0�0�s�A:�:Bc�6�Gd�d�}tjtj�5|jddd�tjtj�5|�}|jddd�y#1swY�IxYw#1swYyxYw)Nc�Z�eZdZejd�ej
d���Zy)�)test_classproperty_deprecation.<locals>.Az0.0.0c��yr�)�clss r�fz+test_classproperty_deprecation.<locals>.A.fs��
�N)�__name__�
__module__�__qualname__r�
deprecated�
classpropertyr$r"r%r�Ar s-��	�����	!�	
�	�	�	�
�
"�	r%r+)r�warnsr�MatplotlibDeprecationWarningr$)r+�as  r�test_classproperty_deprecationr/sv����

���d�7�7�	8��	����	���d�7�7�	8��
�C��	����������s�
B�&B�B�Bc�j�Gd�d�}|�}tjtj�5|jdk(sJ�	ddd�tjtj�5d|_ddd�tjtj�5|jdk(sJ�	ddd�tjtj�5|jd�dk(sJ�	ddd�y#1swY��xYw#1swY��xYw#1swY�exYw#1swYyxYw)Nc�`�eZdZd�Zd�Zejd�Zejd�Zy)�-test_deprecate_privatize_attribute.<locals>.Cc��d|_y)Nr)�_attr)�selfs r�__init__z6test_deprecate_privatize_attribute.<locals>.C.__init__'s���D�Jr%c��|Srr")r5�args  r�_methz3test_deprecate_privatize_attribute.<locals>.C._meth(s��S�jr%z0.0N)	r&r'r(r6r9r�deprecate_privatize_attribute�attr�methr"r%r�Cr2&s,��*�(�1�t�1�1�%�8��1�t�1�1�%�8�r%r=rr�*)rr,rr-r;r<)r=�cs  r�"test_deprecate_privatize_attributer@%s���9�9�	
��A�	���d�7�7�	8���v�v��{��{��	���d�7�7�	8������	���d�7�7�	8���v�v��{��{��	���d�7�7�	8� ��v�v�b�z�R���� � �
��������� � �s/�D�3D�&D�$D)�D�D�D&�)D2c����tjdd�dd���tjdd�d��}�|fD]>}|�tjtj�5|d��ddd��@tj
jf�fd�	}|�tjtj�5d��ddd�y#1swY��xYw#1swYyxYw)	N�3.0�fooc��yrr"�rCs r�func1z$test_delete_parameter.<locals>.func18���r%c��yrr")�kwargss r�func2z$test_delete_parameter.<locals>.func2<rGr%�barrEc����|�yrr")rCrFs �r�pyplot_wrapperz-test_delete_parameter.<locals>.pyplot_wrapperEs
���
�c�
r%r)r�delete_parameterrr,r-�deprecation�_deprecated_parameter)rJ�funcrMrFs   @r�test_delete_parameterrR7s����	���5�%�(�
�)�
�
���5�%�(�
�)�
��������
�\�\�$�;�;�
<�	��U�O�	�	��
 �+�+�A�A����	���d�7�7�	8�������	�	����s�,
C�	
C(�C%	�(C1c�X�tjdd�dd��}|dd��tjtj�5|dd�ddd�tjtj�5|ddd�ddd�y#1swY�@xYw#1swYyxYw)	NrBr8c��yrr")�prer8�posts   rrQz$test_make_keyword_only.<locals>.funcNrGr%rr)r8rr)r�make_keyword_onlyrr,r-)rQs r�test_make_keyword_onlyrXMs���	���E�5�)�
�*�
�	���N�	���d�7�7�	8���Q��
��	���d�7�7�	8���Q��1�
��������s�
B�B �B� B)c�b�d}tjd|��d��}||jvsJ�y)Nz)`.f1`, `f2`, `f3(x) <.f3>` or `f4(x)<f4>`�1)�alternativec��yrr"r"r%rr$z'test_deprecation_alternative.<locals>.f\rGr%)rr)�__doc__)r[r$s  r�test_deprecation_alternativer^Zs6��=�K�	�_�_�S�k�2�
�3�
��!�)�)�#�#�#r%c��tjtd��5tjdg�ddd�y#1swYyxYw)NzNo argument to check!rr.)rr�	TypeErrorr�
check_in_listr"r%r�test_empty_check_in_listrbbs6��	���y�(?�	@�"����C�5�!�"�"�"�s	�<�A)r�numpyrr�
matplotlibr�mark�parametrizerr/r@rRrXr^rbr"r%r�<module>rgsZ��	��
�������,���0��0�
� �$�,
�$�"r%

Youez - 2016 - github.com/yon3zu
LinuXploit