Uname:Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 3.111.61.48  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.2.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3.10/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.10/test/__pycache__/test_doctest2.cpython-310.pyc
o

�9jo	�@sldZddlZddlZejjdkre�d��Gdd�de�ZGdd�dej�Z	dd	l
Ted
kr4e��dSdS)u�A module to test whether doctest recognizes some 2.2 features,
like static and class methods.

>>> print('yup')  # 1
yup

We include some (random) encoded (utf-8) text in the text surrounding
the example.  It should be ignored:

ЉЊЈЁЂ

�N�zCannot test docstrings with -O2c@sfeZdZdZdd�Zdd�ZGdd�de�Zdd	�Zd
d�Z	e
ee	dd
�Zedd��Z
edd��ZdS)�Cu�Class C.

    >>> print(C())  # 2
    42


    We include some (random) encoded (utf-8) text in the text surrounding
    the example.  It should be ignored:

        ЉЊЈЁЂ

    cC�dS)z;C.__init__.

        >>> print(C()) # 3
        42
        N���selfrr�)/usr/lib/python3.10/test/test_doctest2.py�__init__!�z
C.__init__cCr)z/
        >>> print(C()) # 4
        42
        �42rrrrr�__str__(sz	C.__str__c@seZdZdZdd�ZdS)zC.DzJA nested D class.

        >>> print("In D!")   # 5
        In D!
        cCr)z8
            >>> print(3) # 6
            3
            Nrrrrr�nested6r
z
C.D.nestedN)�__name__�
__module__�__qualname__�__doc__r
rrrr�D/srcCs|jS)zg
        >>> c = C()    # 7
        >>> c.x = 12   # 8
        >>> print(c.x)  # 9
        -12
        ��_xrrrr�getx<szC.getxcCs
||_dS)zm
        >>> c = C()     # 10
        >>> c.x = 12    # 11
        >>> print(c.x)   # 12
        -12
        Nr)r�valuerrr�setxEs
zC.setxzi        >>> c = C()    # 13
        >>> c.x = 12   # 14
        >>> print(c.x)  # 15
        -12
        )�doccCr)z�
        A static method.

        >>> print(C.statm())    # 16
        666
        >>> print(C().statm())  # 17
        666
        i�rrrrr�statmU�
zC.statmcCs|S)z�
        A class method.

        >>> print(C.clsm(22))    # 18
        22
        >>> print(C().clsm(23))  # 19
        23
        r)�cls�valrrr�clsmarzC.clsmN)rrrrr	r�objectrrr�property�x�staticmethodr�classmethodrrrrrrs

		
rc@seZdZdd�ZdS)�TestcCs`ddl}ddl}d}|�|jt�\}}|r|�d||f�||kr.|�d||f�dSdS)Nr�z%d of %d doctests failedz expected %d tests to run, not %d)�doctest�sys�testmod�modulesr�fail)rr%r&�EXPECTED�f�trrr�test_testmodos�zTest.test_testmodN)rrrr-rrrrr#nsr#)�*�__main__)
rr&�unittest�flags�optimize�SkipTestrr�TestCaser#r%r�mainrrrr�<module>s

[
�

Youez - 2016 - github.com/yon3zu
LinuXploit