
    bi                     P    d dl Z e j                  j                  d      d        Zy)    Nz'deprecate_cython_api is not thread-safe)reasonc                      d} t        j                  t        |       5  ddlm} d d d        j                         dk(  sJ y # 1 sw Y   xY w)Nzn`scipy._lib._test_deprecation_def.foo_deprecated` is deprecated, use `foo` instead!
Deprecated in Scipy 42.0.0)match   )_test_deprecation_call)   r   )pytestwarnsDeprecationWarning r   call)r   r   s     \/home/cdr/jupyterlab/.venv/lib/python3.12/site-packages/scipy/_lib/tests/test_deprecation.pytest_cython_api_deprecationr      sI    *E 
(	6 .-.!&&(F222. .s   AA)r	   markthread_unsafer        r   <module>r      s.    "KL3 M3r   