U
    e»{jN  ã                   @   sN   d dl Zd dlZd dlmZ d dlmZ e ddd¡Zej	 
d¡dd	„ ƒZdS )
é    N)Úassert_allclose)Úmath_functionsiìÿÿÿih  éd   zignore:.*:RuntimeWarningc                  C   sš   t jD ]n} tt | ƒ}|jdks"t‚|ƒ }tt|jjƒ}|jdkrTt	|t
ƒ|t
ƒƒ q|jdkrt	|t
t
ƒ|t
t
ƒƒ qt jt jks†t‚t jt jks–t‚d S )Nzastropy.modeling.math_functionsé   é   )r   Ú__all__ÚgetattrÚ
__module__ÚAssertionErrorÚnpÚfuncÚ__name__Zn_inputsr   ÚxZModUfuncZRemainderUfuncZDivideUfuncZTrue_divideUfunc)ÚnameZmodel_classÚmodelr   © r   úd/var/www/html/bwave/python/venv/lib/python3.8/site-packages/astropy/modeling/tests/test_math_func.pyÚ	test_math   s    



r   )Únumpyr   ZpytestZnumpy.testingr   Zastropy.modelingr   Zlinspacer   ÚmarkÚfilterwarningsr   r   r   r   r   Ú<module>   s   
