OwlCyberSecurity - MANAGER
Edit File: test_matplotlib.cpython-38.pyc
U ��]� � @ s d dl Z d dlZ dd� ZdS )� Nc C sD dd� } t | d��t tjj�ks$t�t | d��t tjj�ks@t�dS )z� Test that the standard backends mentioned in the docstring of matplotlib.use() are the same as in matplotlib.rcsetup. c S sJ g }t jj�| �d �d�D ](}|�� s, qF|dd� |�d�D �7 }q|S )N� � c S s g | ]}|r|� � �qS � )�strip)�.0�er r �B/usr/lib/python3/dist-packages/matplotlib/tests/test_matplotlib.py� <listcomp> s zAtest_use_doc_standard_backends.<locals>.parse.<locals>.<listcomp>�,)� matplotlibZuse�__doc__�splitr )�keyZbackends�liner r r �parse s z-test_use_doc_standard_backends.<locals>.parsez- interactive backends: z- non-interactive backends: N)�setr ZrcsetupZinteractive_bk�AssertionErrorZnon_interactive_bk)r r r r �test_use_doc_standard_backends s � �r )r Zmatplotlib.rcsetupr r r r r �<module> s