o
    h                     @   s  d dl Z d dlmZ d dlmZ zd dlm  mZ W n e	y&   dZY nw zd dl
Z
W n e	y8   dZ
Y nw zd dlZW n e	yJ   dZY nw dZe jje ddZe jjedu ddZe jje
du d	dZe jje d
dZdd Ze jje dk ddZdd ZdS )    N)
has_beakerupdate_wrapperFTz#Beaker is required for these tests.)reasonz.babel not installed: skipping babelplugin testz0lingua not installed: skipping linguaplugin testz,dogpile.cache is required to run these testsc                  C   s&   z
dd l } | j}W |S    d}Y |S )Nr   0)pygments__version__)r   version r
   k/var/www/html/construction_image-detection-poc/venv/lib/python3.10/site-packages/mako/testing/exclusions.py_pygments_version0   s   r   z1.4z Requires pygments 1.4 or greaterc                    s    fdd}t | S )Nc                     s8   ddl m} |  z | i |W |  S |  w )Nr   )
exceptions)makor   _install_fallback_install_highlighting)argkwr   fnr
   r   goG   s
   z+requires_no_pygments_exceptions.<locals>.gor   )r   r   r
   r   r   requires_no_pygments_exceptionsF   s   
	r   )pytestmako.ext.beaker_cacher   	mako.utilr   babel.messages.extractmessagesextractbabelImportErrorlinguadogpile.cachedogpilehas_dogpile_cachemarkskipifrequires_beakerrequires_babelrequires_linguarequires_dogpile_cacher   requires_pygments_14r   r
   r
   r
   r   <module>   sJ    

