U
    ?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)testingZastropyc                   C   s,   zt d W n tk
r&   dY nX d S )NZfits )ioZ
use_pluginImportErrorr   r   r   L/var/www/html/venv/lib/python3.8/site-packages/skimage/io/tests/test_fits.pytest_fits_plugin_import   s    r   c                   C   s   t   d S )N)r   Z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)Zcollection1Zcollection2Zext1Zext2r   r   r   _same_ImageCollection   s    r   )numpyr   Z
skimage.ior   Zskimage._sharedr   ZpytestZimportorskipr   r   r   r   r   r   r   <module>   s   
