3
ÌœŸWB  ã               @   s2   d dl Z d dlZd dlmZ G dd„ dejƒZdS )é    N)Úpatchc               @   s0   e Zd Zejdejkdƒeddƒdd„ ƒƒZdS )ÚTestPylabLutszmayavi.core.lut_managerzPmayavi.core.lut_manager is already loaded in another tests. Can't run this test.zmayavi.core.lut.__file__zwrong_path/for_lut.pyc             C   s   ddl m} | j|i ƒ dS )zI Test if lut_manager can be loaded despite faulty pylab_luts.pkl
        r   )Ú
pylab_lutsN)Zmayavi.core.lut_managerr   ÚassertEqual)Úselfr   © r   ú_/home/yuhw/wc/wire-cell-python/venv/lib/python3.6/site-packages/mayavi/tests/test_pylab_luts.pyÚtest_fail_load_pylab_luts	   s    z'TestPylabLuts.test_fail_load_pylab_lutsN)	Ú__name__Ú
__module__Ú__qualname__ÚunittestÚskipIfÚsysÚmodulesr   r	   r   r   r   r   r      s   r   )r   r   Zmockr   ÚTestCaser   r   r   r   r   Ú<module>   s   