403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.25
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/scipy/misc/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/scipy/misc/tests/__pycache__/test_doccer.cpython-311.pyc
�

d�c����dZddlZddlZddlmZmZddlmZejj	dkZ
dZdZdZ
d	Zee
ed
�ZdZd�Zd
�Zd�Zej�e
d���d���Zej�e
d���d���ZdS)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 indentzAnother 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��t��5}|�t���tt	jt��t��tt	jt��t��tt	jt��t��ddd��dS#1swxYwYdS)N��category)	r�filter�DeprecationWarningrr�unindent_string�
param_doc1�
param_doc2�
param_doc3)�sups �>/usr/lib/python3/dist-packages/scipy/misc/tests/test_doccer.py�
test_unindentr+s���	�	�	�E���
�
�.�
�/�/�/��V�+�J�7�7��D�D�D��V�+�J�7�7��D�D�D��V�+�J�7�7��D�D�D�	E�E�E�E�E�E�E�E�E�E�E�E����E�E�E�E�E�Es�B B<�<C�Cc��t��5}|�t���tjt
��}ddd��n#1swxYwYt
|dt
d��t
|dt
d��t
|dt
d��dS)Nrrrr	)rr
rr�
unindent_dict�doc_dictr)r�d2s  r�test_unindent_dictr3s���	�	�	�,���
�
�.�
�/�/�/�
�
!�(�
+�
+��,�,�,�,�,�,�,�,�,�,�,����,�,�,�,���J���*�!5�6�6�6���J���*�!5�6�6�6���J���*�!5�6�6�6�6�6s�5A�A�Ac�r�t��5}|�t���tjt
��}tjt|��}t|t��d}tj|t
��}t|d��ddd��dS#1swxYwYdS)NrzSingle line doc %(strtest1)sz0Single line doc Another test
   with some indent)
rr
rrrr�	docformat�	docstringr�filled_docstring)r�udd�	formatted�
single_docs    r�test_docformatr"<s���	�	�	�
���
�
�.�
�/�/�/��"�8�,�,���$�Y��4�4�	��Y� 0�1�1�1�3�
��$�Z��:�:�	�	�Y�!�	�	�	�
�
�
�
�
�
�
�
�
�
�
�
����
�
�
�
�
�
��BB,�,B0�3B0zdocstrings stripped)�reasonc�r�t��5}|�t���tjt
d��}|d���}t
|jd��tjt
d��}|d���}t
|jd��ddd��dS#1swxYwYdS)NrTc��dS�z0 Docstring
            %(strtest3)s
            N�r(�r�funcztest_decorator.<locals>.funcQ����r)zP Docstring
            Another test
               with some indent
            Fc��dSr'r(r(r)rr*ztest_decorator.<locals>.func^r+r)zX Docstring
                Another test
                   with some indent
            )rr
rr�filldocrr�__doc__)r�	decoratorr*s   r�test_decoratorr0Js��	�	�	����
�
�.�
�/�/�/��N�8�T�2�2�	�	�	�	�
��	�	�T�\�$�	�	�	��N�8�U�3�3�	�	�	�	�
��	�	�T�\�$�	�	�	�/��������������������r#c���t��5}|�t���Gd�d���G�fd�d���}ddd��n#1swxYwYt|jj�jjdz��t|jj�jj��|��}t|jj�jjdz��t|jj�jj��dS)Nrc��eZdZd�Zd�ZdS)�(test_inherit_docstring_from.<locals>.Fooc��dS)zDo something useful.Nr(��selfs rr*z-test_inherit_docstring_from.<locals>.Foo.funcps���r)c��dS)zSomething else.Nr(r5s r�func2z.test_inherit_docstring_from.<locals>.Foo.func2tr+r)N)�__name__�
__module__�__qualname__r*r8r(r)r�Foor3os2������
�
�
�
&�
&�
&�
&�
&r)r<c�t��eZdZej���d���Zej���d���ZdS)�(test_inherit_docstring_from.<locals>.Barc��dS)z%(super)sABCNr(r5s rr*z-test_inherit_docstring_from.<locals>.Bar.funcx�	���r)c��dS)Nr(r5s rr8z.test_inherit_docstring_from.<locals>.Bar.func2}r@r)N)r9r:r;r�inherit_docstring_fromr*r8)r<s�r�Barr>wse�������
*�V�
*�3�
/�
/�
�
�0�
/�
�+�V�
*�3�
/�
/�
�
�0�
/�
�
�
r)rC�ABC)rr
rrr*r.r8)rrC�barr<s   @r�test_inherit_docstring_fromrFisY���
�	�	����
�
�.�
�/�/�/�	&�	&�	&�	&�	&�	&�	&�	&�		�		�		�		�		�		�		�#�		�		�		�������������������,���!�3�8�#3�e�#;�<�<�<����"�C�I�$5�6�6�6�

�#�%�%�C����!�3�8�#3�e�#;�<�<�<����"�C�I�$5�6�6�6�6�6s�9A�A�A)r.�sys�pytest�
numpy.testingrr�
scipy._libr�flags�optimize�DOCSTRINGS_STRIPPEDrrrrrrrrr"�mark�skipifr0rFr(r)r�<module>rPsD��F�F�
�
�
�
�
�
�
�
�9�9�9�9�9�9�9�9��������i�(�1�,���
���
����"�!�!�#�#��
��E�E�E�7�7�7��������'�0E��F�F���G�F��<����'�0E��F�F�7�7�G�F�7�7�7r)

Youez - 2016 - github.com/yon3zu
LinuXploit