o
    -h                     @   s   d Z ddlZddlZddlZddlZddlZddlmZmZ e	e
ZdefddZejjdejjjvdd	Zejjejd
 dd	Zejjejd dd	Zejjejd dd	Zejje  dd	ZdS )z8
pytest markers for the internal Matplotlib test suite.
    N)_get_executable_infoExecutableNotFoundErrorreturnc                   C   sr   t dstd dS ztd W n ty!   td Y dS w ztd W dS  ty8   td Y dS w )	Ntexzusetex mode requires TeX.Fdvipngzusetex mode requires dvipng.gsz!usetex mode requires ghostscript.T)shutilwhich_logwarningr   r    r   r   O/var/www/vscode/kcb/lib/python3.10/site-packages/matplotlib/testing/_markers.py_checkdep_usetex   s    




r   epsz*This test needs a ghostscript installation)reasonlualatexzlualatex + pgf is requiredpdflatexzpdflatex + pgf is requiredxelatexzxelatex + pgf is requiredz"This test needs a TeX installation)__doc__loggingr   pytestmatplotlib.testing
matplotlibmatplotlib.testing.comparer   r   	getLogger__name__r
   boolr   markskipiftestingcompare	converterneeds_ghostscript_check_for_pgfneeds_pgf_lualatexneeds_pgf_pdflatexneeds_pgf_xelatexneeds_usetexr   r   r   r   <module>   s:    

