관리-도구
편집 파일: exclusions.cpython-38.pyc
U +�e � @ s d dl Z d dlmZ d dlmZ zd dlm mZ W n e k rN dZY nX zd dl Z W n e k rt dZ Y nX zd dlZW n e k r� dZ Y nX dZ e jje dd�Ze jjedkdd�Ze jje dkd d�Ze jje d d�Zdd� Ze jje� d k dd�Zdd� ZdS )� 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( zdd l } | j}W n d}Y nX |S )Nr �0)�pygments�__version__)r �version� r �E/opt/hc_python/lib/python3.8/site-packages/mako/testing/exclusions.py�_pygments_version0 s r z1.4z Requires pygments 1.4 or greaterc s � fdd�}t |� �S )Nc s2 ddl m} |�� z� | |�W �S |�� X d S )Nr )� exceptions)�makor Z_install_fallbackZ_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 )ZpytestZmako.ext.beaker_cacher Z mako.utilr Zbabel.messages.extract�messages�extractZbabel�ImportErrorZlinguaZ dogpile.cacheZdogpileZhas_dogpile_cache�markZskipifZrequires_beakerZrequires_babelZrequires_linguaZrequires_dogpile_cacher Zrequires_pygments_14r r r r r �<module> sJ � � �� �