3
Odl                 @   s   d dl Z dd ZdS )    Nc           
   C   s>   d} t jt| d ddlm} W d Q R X |j 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   r   )pytestZwarnsDeprecationWarning r   callAssertionError)r   r    r   U/var/www/html/virt/lib64/python3.6/site-packages/scipy/_lib/tests/test_deprecation.pytest_cython_api_deprecation   s    r   )r   r   r   r   r   r   <module>   s   