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_testing.cpython-312.pyc
�

G8�c!���ddlZddlZddlmZddlmZejjdd��d��Z	ejjddg�ed	g�
�ejjddg�d����Zd
�Zejje
dd��e�d���Ze�d��Zy)�N)�check_figures_equalTz testing that warnings fail tests)�strict�reasonc�.�tjd�y)NzThis should fail the test)�warnings�warn���?/usr/lib/python3/dist-packages/matplotlib/tests/test_testing.py�test_warn_to_failr	s��
�M�M�-�.r
�a��png)�
extensions�bc��||k(sJ�y�Nr	)r
�fig_refr�fig_tests    r�(test_parametrize_with_check_figure_equalrs��
��6�M�6r
c��tjtd��5t�d��}ddd�y#1swYyxYw)Nz^The decorated function)�matchc��yrr	)�test�refs  r�should_failz&test_wrap_failure.<locals>.should_fails��r
)�pytest�raises�
ValueErrorr)rs r�test_wrap_failurer s;��	���z�)B�	C��	�	�	�
�	����s�6�?z6Test for check_figures_equal test creating new figures)rrrc�,�tj�yr)�plt�figure)rrs  r�"test_check_figures_equal_extra_figr$s
��
�J�J�Lr
c�V�tj�}tj|�yr)r"r#�close)rr�figs   r�#test_check_figures_equal_closed_figr(&s��

�*�*�,�C��I�I�c�Nr
)rr�matplotlib.pyplot�pyplotr"�matplotlib.testing.decoratorsr�mark�xfailr�parametrizerr �RuntimeErrorr$r(r	r
r�<module>r0s����
��=�������:���/��/�������q�c�"����(�������q�c�"��#�)�#��������,�t�(��)�����)������r

Youez - 2016 - github.com/yon3zu
LinuXploit