o
    ðËhI  ã                   @   sH   d dl Zd dlmZ d dlmZ ej d¡ dd„ Zdd„ Z	dd	„ Z
dS )
é    N)ÚtestingÚastropyc                   C   s$   zt  d¡ W d S  ty   d‚w )NÚfits© )ÚioÚ
use_pluginÚImportErrorr   r   r   úU/var/www/html/scripts/venv/lib/python3.10/site-packages/skimage/io/tests/test_fits.pyÚtest_fits_plugin_import   s
   ÿr
   c                   C   s   t  ¡  d S )N)r   Úreset_pluginsr   r   r   r	   Úteardown   s   r   c                 C   s@   t | ƒt |ƒkr
dS t| |ƒD ]\}}t ||k¡s dS qdS )zz
    Ancillary function to compare two ImageCollection objects, checking that
    their constituent arrays are equal.
    FT)ÚlenÚzipÚnpÚall)Úcollection1Úcollection2Úext1Úext2r   r   r	   Ú_same_ImageCollection   s   ÿr   )Únumpyr   Ú
skimage.ior   Úskimage._sharedr   ÚpytestÚimportorskipr
   r   r   r   r   r   r	   Ú<module>   s    
