Ë
    âQ(hÕ  ã                   ó$  — d Z ddlZddlZddlmZmZ ddlmZ ej                  j                  dkD  Z
dZdZdZd	Zeeed
œZdZd„ Zd„ Zd„ Zej(                  j+                  e
d¬«      d„ «       Zej(                  j+                  e
d¬«      d„ «       Zy)z@ Some tests for the documenting decorator and support functions é    N)Úassert_equalÚsuppress_warnings)Údocceré   zBDocstring
    %(strtest1)s
        %(strtest2)s
     %(strtest3)s
z Another test
   with some indentzAnother test, one linez(    Another test
       with some indent)Ústrtest1Ústrtest2Ústrtest3z|Docstring
    Another test
       with some indent
        Another test, one line
     Another test
       with some indent
c                  óX  — t        «       5 } | j                  t        ¬«       t        t	        j
                  t        «      t        «       t        t	        j
                  t        «      t        «       t        t	        j
                  t        «      t        «       d d d «       y # 1 sw Y   y xY w)N©Úcategory)	r   ÚfilterÚDeprecationWarningr   r   Úunindent_stringÚ
param_doc1Ú
param_doc2Ú
param_doc3)Úsups    úZ/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/scipy/_lib/tests/test_doccer.pyÚtest_unindentr   +   sq   € Ü	Ó	ð E Ø�
‰
Ô.ˆ
Ô/Ü”V×+Ñ+¬JÓ7¼ÔDÜ”V×+Ñ+¬JÓ7¼ÔDÜ”V×+Ñ+¬JÓ7¼ÔD÷	E÷ Eñ Eús   ‹BB Â B)c                  ó$  — t        «       5 } | j                  t        ¬«       t        j                  t
        «      }d d d «       t        d   t
        d   «       t        |d   t
        d   «       t        |d   t
        d   «       y # 1 sw Y   ŒLxY w)Nr   r   r   r	   )r   r   r   r   Úunindent_dictÚdoc_dictr   )r   Úd2s     r   Útest_unindent_dictr   3   sy   € Ü	Ó	ð , Ø�
‰
Ô.ˆ
Ô/Ü×!Ñ!¤(Ó+ˆ÷,ô ��J‘¤¨*Ñ!5Ô6Ü��J‘¤¨*Ñ!5Ô6Ü��J‘¤¨*Ñ!5Õ6÷,ð ,ús   ‹0BÂBc                  óD  — t        «       5 } | j                  t        ¬«       t        j                  t
        «      }t        j                  t        |«      }t        |t        «       d}t        j                  |t
        «      }t        |d«       d d d «       y # 1 sw Y   y xY w)Nr   zSingle line doc %(strtest1)sz0Single line doc Another test
   with some indent)
r   r   r   r   r   r   Ú	docformatÚ	docstringr   Úfilled_docstring)r   ÚuddÚ	formattedÚ
single_docs       r   Útest_docformatr"   <   sƒ   € Ü	Ó	ð 
 Ø�
‰
Ô.ˆ
Ô/Ü×"Ñ"¤8Ó,ˆÜ×$Ñ$¤Y°Ó4ˆ	Ü�YÔ 0Ô1Ø3ˆ
Ü×$Ñ$ Z´Ó:ˆ	ô 	�Yð !ô 	÷
÷ 
ñ 
ús   ‹BBÂBzdocstrings stripped)Úreasonc                  ó¬  — t        «       5 } | j                  t        ¬«       t        j                  t
        d«      }|d„ «       }d„ }t        |j                  |j                  «       t        j                  t
        t        j                  dk  rdnd«      }|d„ «       }d„ }t        |j                  |j                  «       d d d «       y # 1 sw Y   y xY w)	Nr   Tc                   ó   — y©z0 Docstring
            %(strtest3)s
            N© r'   ó    r   Úfuncztest_decorator.<locals>.funcQ   ó   � r(   c                   ó   — y)zP Docstring
            Another test
               with some indent
            Nr'   r'   r(   r   Úexpectedz test_decorator.<locals>.expectedW   r*   r(   )é   é   Fc                   ó   — yr&   r'   r'   r(   r   r)   ztest_decorator.<locals>.funce   r*   r(   c                   ó   — y)zX Docstring
                Another test
                   with some indent
            Nr'   r'   r(   r   r,   z test_decorator.<locals>.expectedj   r*   r(   )
r   r   r   r   Úfilldocr   r   Ú__doc__ÚsysÚversion_info)r   Ú	decoratorr)   r,   s       r   Útest_decoratorr6   J   sÄ   € ä	Ó	ð #5 Ø�
‰
Ô.ˆ
Ô/ä—N‘N¤8¨TÓ2ˆ	à	ñ	ó 
ð	ò
	ô
 	�T—\‘\ 8×#3Ñ#3Ô4ô —N‘N¤8Ü#&×#3Ñ#3°gÒ#=ñ .3ØCGóIˆ	ð 
ñ	ó 
ð	ò	ô
 	�T—\‘\ 8×#3Ñ#3Ô4÷G#5÷ #5ñ #5ús   ‹B6C
Ã
Cc                  óX  ‡— t        «       5 } | j                  t        ¬«        G d„ d«      Š G ˆfd„d‰«      }d d d «       t        j                  j
                  ‰j                  j
                  dz   «       t        |j                  j
                  ‰j                  j
                  «        |«       }t        |j                  j
                  ‰j                  j
                  dz   «       t        |j                  j
                  ‰j                  j
                  «       y # 1 sw Y   ŒçxY w)Nr   c                   ó   — e Zd Zd„ Zd„ Zy)ú(test_inherit_docstring_from.<locals>.Fooc                  ó   — y)zDo something useful.Nr'   ©Úselfs    r   r)   z-test_inherit_docstring_from.<locals>.Foo.funcy   s   € àr(   c                  ó   — y)zSomething else.Nr'   r;   s    r   Úfunc2z.test_inherit_docstring_from.<locals>.Foo.func2}   r*   r(   N)Ú__name__Ú
__module__Ú__qualname__r)   r>   r'   r(   r   ÚFoor9   x   s   „ òó&r(   rB   c                   ór   •— e Zd Z ej                  W ° «      d„ «       Z ej                  W ° «      d„ «       Zy)ú(test_inherit_docstring_from.<locals>.Barc                  ó   — y)z%(super)sABCNr'   r;   s    r   r)   z-test_inherit_docstring_from.<locals>.Bar.func�   ó   € ð r(   c                  ó   — y )Nr'   r;   s    r   r>   z.test_inherit_docstring_from.<locals>.Bar.func2†   rF   r(   N)r?   r@   rA   r   Úinherit_docstring_fromr)   r>   )rB   s   €r   ÚBarrD   €   sC   ø„ Ø*ˆV×*Ñ*©3Ó/ñó 0ðð +ˆV×*Ñ*©3Ó/ñó 0ñr(   rI   ÚABC)r   r   r   r   r)   r2   r>   )r   rI   ÚbarrB   s      @r   Útest_inherit_docstring_fromrL   r   sÒ   ø€ ô 
Ó	ð  Ø�
‰
Ô.ˆ
Ô/÷	&ñ 	&ö		�#ô 		÷ô, �—‘×!Ñ! 3§8¡8×#3Ñ#3°eÑ#;Ô<Ü�—‘×"Ñ" C§I¡I×$5Ñ$5Ô6Ù
‹%€CÜ�—‘×!Ñ! 3§8¡8×#3Ñ#3°eÑ#;Ô<Ü�—‘×"Ñ" C§I¡I×$5Ñ$5Õ6÷5ð ús   Œ.D Ä D))r2   r3   ÚpytestÚnumpy.testingr   r   Ú
scipy._libr   ÚflagsÚoptimizeÚDOCSTRINGS_STRIPPEDr   r   r   r   r   r   r   r   r"   ÚmarkÚskipifr6   rL   r'   r(   r   ú<module>rU      sÖ   ðÙ Fã 
Û ß 9å ð —i‘i×(Ñ(¨1Ñ,Ð ðð 
ðð ð
 ð ðð ð "Ø!Ø!ñ#€ð
ð òEò7òð ‡�×ÑÐ'Ð0EÐÓFñ$5ó Gð$5ðN ‡�×ÑÐ'Ð0EÐÓFñ7ó Gñ7r(   