KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /usr/lib64/python2.4/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.4/test/test_doctest2.pyo
mò
‚=5Dc@sUdZdklZdefd„ƒYZd„ZdkTedjoeƒ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:

ЉЊЈĞĞ‚

(stest_supporttCcBs‡tZdZd„Zd„Zdefd„ƒYZd„Zd„Ze	eeddƒZ
d	„ZeeƒZd
„Z
ee
ƒZ
RS(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((t*/usr/lib64/python2.4/test/test_doctest2.pyt__init__scCsdS(s.
        >>> print C() # 4
        42
        t42N((R((Rt__str__&stDcBstZdZd„ZRS(sIA nested D class.

        >>> print "In D!"   # 5
        In D!
        cCsdS(s7
            >>> print 3 # 6
            3
            N((R((Rtnested4s(t__name__t
__module__t__doc__R(((RR-scCs|iS(sf
        >>> c = C()    # 7
        >>> c.x = 12   # 8
        >>> print c.x  # 9
        -12
        N(Rt_x(R((Rtgetx:scCs
||_dS(sl
        >>> c = C()     # 10
        >>> c.x = 12    # 11
        >>> print c.x   # 12
        -12
        N(tvalueRR(RR
((RtsetxCstdocsh        >>> 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šN((((RtstatmSscCs|S(s‚
        A class method.

        >>> print C.clsm(22)    # 18
        22
        >>> print C().clsm(23)  # 19
        23
        N(tval(tclsR((Rtclsm`s(RR	R
RRtobjectRRRtpropertytxRtstaticmethodRtclassmethod(((RRs		
						cCsVdkl}d}ti|ƒ\}}||jotid||fƒ‚ndS(N(s
test_doctest2is expected %d tests to run, not %d(ttestt
test_doctest2tEXPECTEDttest_supporttrun_doctesttfttt
TestFailed(RRRR((Rt	test_mainms


(t*t__main__N(R
RRRRR!tdoctestR(RRR!((Rt?
s
\	



Anon7 - 2021