a
    «ˆcK  ã                   @   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 dejv 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} |  |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/wcpy/lib/python3.9/site-packages/mayavi/tests/test_pylab_luts.pyÚtest_fail_load_pylab_luts	   s    z'TestPylabLuts.test_fail_load_pylab_lutsN)	Ú__name__Ú
__module__Ú__qualname__ÚunittestZskipIfÚsysÚmodulesr   r	   r   r   r   r   r      s
   ÿr   )r   r   Zunittest.mockr   ZTestCaser   r   r   r   r   Ú<module>   s   