o
    ^it                     @   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)testingastropyT)autousec                   c   s    d V  t   d S )N)ioreset_plugins r   r   U/var/www/html/RAG/RAG_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 )Nfitsr   )r   
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)collection1collection2ext1ext2r   r   r   _same_ImageCollection   s   r   )numpyr   
skimage.ior   skimage._sharedr   pytestimportorskipfixturer	   r   r   r   r   r   r   <module>   s    

