+
    i!                        ^ 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# )    N)check_figures_equalTz testing that warnings fail tests)strictreasonc                  2    \         P                  ! R 4       R# )zThis should fail the testN)warningswarn     }/Users/tonyclaw/.openclaw/workspace/skills/math-calculator/venv/lib/python3.14/site-packages/matplotlib/tests/test_testing.pytest_warn_to_failr   	   s     MM-.r
   apng)
extensionsbc                     W8X  g   Q hR # Nr	   )r   fig_refr   fig_tests   &&&&r   (test_parametrize_with_check_figure_equalr      s     6M6r
   c                      \         P                  ! \        R R7      ;_uu_ 4        \        4       R 4       p RRR4       R#   + '       g   i     R# ; i)z^The decorated function)matchc                     R # r   r	   )testrefs   &&r   should_fail&test_wrap_failure.<locals>.should_fail   s    r
   N)pytestraises
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                 0    \         P                  ! 4        R # r   )pltfigure)r   r   s   &&r   "test_check_figures_equal_extra_figr$      s    
 JJLr
   c                 \    \         P                  ! 4       p\         P                  ! V4       R # r   )r"   r#   close)r   r   figs   && r   #test_check_figures_equal_closed_figr(   &   s    
**,CIIcNr
   )r   r   matplotlib.pyplotpyplotr"   matplotlib.testing.decoratorsr   markxfailr   parametrizer   r    RuntimeErrorr$   r(   r	   r
   r   <module>r0      s       = :  // qc"(qc" # ) # ,t(  )  )  r
   