U
    e»{jO  ã                   @   s(   d Z ddlmZmZ dd„ Zdd„ ZdS )z…Test that all expected methods are present, before I/O tests import.

This file is weirdly named so that it's the first test of I/O.
é    )Úconvert_registryÚreadwrite_registryc                  C   s,   dd„ t j ¡ D ƒ} ddh}| |ks(t‚dS )ú.Test that ONLY the expected I/O is registered.c                 S   s   h | ]\}}|’qS © r   ©Ú.0ÚkÚ_r   r   ú_/var/www/html/bwave/python/venv/lib/python3.8/site-packages/astropy/cosmology/io/tests/test_.pyÚ	<setcomp>   s     z-test_expected_readwrite_io.<locals>.<setcomp>z
ascii.ecsvz
ascii.htmlN)r   Ú_readersÚkeysÚAssertionError©ÚgotÚexpectedr   r   r
   Útest_expected_readwrite_io   s    r   c                  C   s4   dd„ t j ¡ D ƒ} ddddddh}| |ks0t‚d	S )
r   c                 S   s   h | ]\}}|’qS r   r   r   r   r   r
   r      s     z+test_expected_convert_io.<locals>.<setcomp>zastropy.cosmologyÚmappingzastropy.modelzastropy.rowzastropy.tableÚyamlN)r   r   r   r   r   r   r   r
   Útest_expected_convert_io   s    ú	r   N)Ú__doc__Zastropy.cosmology.connectr   r   r   r   r   r   r   r
   Ú<module>   s   	