U
    ?hl  ã                   @   s   d dl Z dd„ ZdS )é    Nc               	   C   s>   d} t jt| d ddlm} W 5 Q R X | ¡ dks:t‚d S )Nzn`scipy._lib._test_deprecation_def.foo_deprecated` is deprecated, use `foo` instead!
Deprecated in Scipy 42.0.0)Úmatché   )Ú_test_deprecation_call)é   r   )ÚpytestZwarnsÚDeprecationWarningÚ r   ÚcallÚAssertionError)r   r   © r   úS/var/www/html/venv/lib/python3.8/site-packages/scipy/_lib/tests/test_deprecation.pyÚtest_cython_api_deprecation   s    r   )r   r   r   r   r   r   Ú<module>   s   