U
    \	a                     @   s>   d dl Z d dlZd dlZd dlZejdddgdd ZdS )    NbackendZwebaggnbaggc                 C   s   t d | dkrt d ttj}tjdkr8d|d< | |d< dd	|  d
 d d|  d }tjtj	d|g|d}|dkst
d S )NZtornador   ZIPythonnt ZDISPLAYZ
MPLBACKENDz
import os;z$assert os.environ['MPLBACKEND'] == 'z';z!import matplotlib.pyplot as plt; z!print(plt.get_backend());assert 'z' == plt.get_backend().lower();z-c)envr   )pytestZimportorskipdictosenvironname
subprocesscallsys
executableAssertionError)r   r   Z	test_coderet r   H/tmp/pip-unpacked-wheel-wjyw_3jo/matplotlib/tests/test_backend_webagg.pytest_webagg_fallback   s"    





r   )r   r	   r   r   markZparametrizer   r   r   r   r   <module>   s
   