| 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 : |
�
G8�c! � � � d dl Z d dlZd dlmZ d dlmZ ej j dd�� d� � Z ej j ddg� ed g�
� ej j ddg� d� � � � Zd
� Zej j e
dd�� e� d� � � Z e� d� � Zy)� N)�check_figures_equalTz testing that warnings fail tests)�strict�reasonc �. � t j d� 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_equalr s � �
��6�M�6r
c � � t j t d�� 5 t � d� � } d d d � y # 1 sw Y y xY w)Nz^The decorated function)�matchc � � y r r )�test�refs r �should_failz&test_wrap_failure.<locals>.should_fail s � �r
)�pytest�raises�
ValueErrorr )r s r �test_wrap_failurer s; � � ���z�)B� C� � � � �
� �� � �s �6�?z6Test for check_figures_equal test creating new figures)r r r c �, � t j � y r )�plt�figure)r r s r �"test_check_figures_equal_extra_figr$ s
� �
�J�J�Lr
c �V � t j � }t j |� y r )r"