+
     ]i!  c                   s   ^ RI t ^ RIt^ RIHt ^ RIHt ]P                  P                  RRR7      R 4       t	]P                  P                  R^.4      ]! R.R	7      ]P                  P                  R
^.4      R 4       4       4       tR t]P                  P                  ]RRR7      ]! 4       R 4       4       t]! 4       R 4       tR# )i    N)check_figures_equalTz testing that warnings fail tests)strictreasonc                  s2    \         P                  ! R 4       R# )zThis should fail the testN)warningsZwarn     D/usr/lib64/python3.14/site-packages/matplotlib/tests/test_testing.pytest_warn_to_failr   	   s     MM-.r   aZpng)Z
extensionsbc                     R # Nr   )r   fig_refr	   fig_tests   &&&&r   (test_parametrize_with_check_figure_equalr      s    r   c                  s    \         P                  ! \        R R7      ;_uu_ 4        \        4       R 4       p RRR4       R#   + '       g   i     R# ; i)z^The decorated function)Zmatchc                 r
   r   r   )ZtestZref   &&r   should_failZ&test_wrap_failure.<locals>.should_fail   s    r   N)pytestraisesZ
ValueErrorr    )r   s    r   test_wrap_failurer      s9    	z)B	C	C			 
	 
D	C	C	Cs   A  A	z6Test for check_figures_equal test creating new figures)r   r   r   c                 s0    \         P                  ! 4        R # r   )pltfigure)r   r   r   r   "test_check_figures_equal_extra_figr      s    
 JJLr   c                 s\    \         P                  ! 4       p\         P                  ! V4       R # r   )r   r   Zclose)r   r   Zfigs   && r   #test_check_figures_equal_closed_figr   &   s    
**,CIIcNr   )r   r   Zmatplotlib.pyplotZpyplotr   Zmatplotlib.testing.decoratorsr    ZmarkZxfailr   Zparametrizer   r   ZRuntimeErrorr   r   r   r   r   <module>r      s       = :  // qc"(qc" # ) # ,t(  )  )  r   