o
    j                     @   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.FZdvipngzusetex mode requires dvipng.gsz!usetex mode requires ghostscript.T)shutilwhich_logwarningr   r    r   r   \/var/www/html/Deteccion_Ine/venv/lib/python3.10/site-packages/matplotlib/testing/_markers.py_checkdep_usetex   s    




r   epsz*This test needs a ghostscript installation)reasonZlualatexzlualatex + pgf is requiredZpdflatexzpdflatex + pgf is requiredZxelatexzxelatex + pgf is requiredz"This test needs a TeX installation)__doc__loggingr   ZpytestZmatplotlib.testingZ
matplotlibZmatplotlib.testing.comparer   r   	getLogger__name__r	   boolr   markZskipifZtestingcompare	converterZneeds_ghostscriptZ_check_for_pgfZneeds_pgf_lualatexZneeds_pgf_pdflatexZneeds_pgf_xelatexZneeds_usetexr   r   r   r   <module>   s:    

