U
    e»{j³  ã                   @   sZ   d Z ddlZddlmZ ddlmZ ej ddddd	d
dddddg
¡dd„ ƒZdd„ Z	dS )z2Testing :mod:`astropy.cosmology.flrw.__init__.py`.é    N)Úresolve_name)ÚAstropyDeprecationWarningÚattrZH0units_to_invsZa_B_c2Zcritdens_constZkB_evKZquadZradian_in_arcminZradian_in_arcsecZ
sec_to_GyrZ	ellipkincZhyp2f1c              	   C   s(   t  t¡� tddd| ƒ W 5 Q R X dS )z;Test deprecation warnings are raised for private variables.ZastropyZ	cosmologyZflrwN)ÚpytestZwarnsr   r   )r   © r   úe/var/www/html/bwave/python/venv/lib/python3.8/site-packages/astropy/cosmology/flrw/tests/test_init.pyÚ!test_deprecated_private_variables   s    r   c               	   C   s&   t  t¡� ddlm}  W 5 Q R X dS )z"Test getattr raises error for DNE.r   ©Úthis_is_not_a_variableN)r   ZraisesÚImportErrorZastropy.cosmology.flrwr
   r	   r   r   r   Ú!test_getattr_error_attr_not_found'   s    r   )
Ú__doc__r   Zastropy.utilsr   Zastropy.utils.exceptionsr   ÚmarkZparametrizer   r   r   r   r   r   Ú<module>   s&   öþ
