U
    \	¸aÉ  ã                   @   s$   d dl mZ d dlmZ dd„ ZdS )é    N)Ú
TexManagerc                  C   s@   dt jd< tƒ } |  ¡ }dt jd< tƒ }| ¡ }||ks<t‚dS )z;
    Test that the preamble is included in _fontconfig
    Tztext.usetexz\usepackage{txfonts}ztext.latex.preambleN)ÚpltZrcParamsr   Zget_font_configÚAssertionError)Ztm1Zfont_config1Ztm2Zfont_config2© r   úD/tmp/pip-unpacked-wheel-wjyw_3jo/matplotlib/tests/test_texmanager.pyÚtest_fontconfig_preamble   s    

r   )Zmatplotlib.pyplotZpyplotr   Zmatplotlib.texmanagerr   r   r   r   r   r   Ú<module>   s   