o
    jt                     @   sV   d dl Zd dlmZ d dlmZ ejd ejjdddd Z	dd	 Z
d
d ZdS )    N)testingZastropyT)Zautousec                   c   s    d V  t   d S )N)ioZreset_plugins r   r   [/var/www/html/Deteccion_Ine/venv/lib/python3.10/site-packages/skimage/io/tests/test_fits.py_reset_plugin	   s   r   c                   C   s$   zt d W d S  ty   dw )NZfitsr   )r   Z
use_pluginImportErrorr   r   r   r   test_imread   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)Zcollection1Zcollection2Zext1Zext2r   r   r   _same_ImageCollection   s   r   )numpyr   Z
skimage.ior   Zskimage._sharedr   ZpytestZimportorskipZfixturer   r   r   r   r   r   r   <module>   s    

