Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 18.224.52.109
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : test_pydoc.pyo
�
?��cc@s�ddlZddlZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlZddlZ
ddlZddlZddlZ
ddlmZddlmZddlmZmZmZmZmZmZddlmZejjr3d#Znd$Zd	j �Z!e"d
�eD��Z#dj �Z$e"d�eD��Z%d
Z&dZ'd�Z(d�Z)d�Z*d�Z+d�Z,dej-fd��YZ.dej-fd��YZ/de.fd��YZ0dej-fd��YZ1ej2ejj3d�dej-fd��Y�Z4dej-fd ��YZ5d!�Z6e7d"kr�e6�ndS(%i����N(t
namedtuple(tassert_python_ok(tTESTFNtrmtreet
reap_childrentcaptured_stdouttcaptured_stderrtrequires_docstrings(t	pydoc_mods.dictionary for instance variables (if defined)s2list of weak references to the object (if defined)ts�
NAME
    test.pydoc_mod - This is a test module for test_pydoc

FILE
    %s
%s
CLASSES
    __builtin__.object
        B
        C
    A
    
    class A
     |  Hello and goodbye
     |  
     |  Methods defined here:
     |  
     |  __init__()
     |      Wow, I have no function!
    
    class B(__builtin__.object)
     |  Data descriptors defined here:
     |  
     |  __dict__%s
     |  
     |  __weakref__%s
     |  
     |  ----------------------------------------------------------------------
     |  Data and other attributes defined here:
     |  
     |  NO_MEANING = 'eggs'
    
    class C(__builtin__.object)
     |  Methods defined here:
     |  
     |  get_answer(self)
     |      Return say_no()
     |  
     |  is_it_true(self)
     |      Return self.get_answer()
     |  
     |  say_no(self)
     |  
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |  
     |  __dict__
     |      dictionary for instance variables (if defined)
     |  
     |  __weakref__
     |      list of weak references to the object (if defined)

FUNCTIONS
    doc_func()
        This function solves all of the world's problems:
        hunger
        lack of Python
        war
    
    nodoc_func()

DATA
    __author__ = 'Benjamin Peterson'
    __credits__ = 'Nobody'
    __version__ = '1.2.3.4'

VERSION
    1.2.3.4

AUTHOR
    Benjamin Peterson

CREDITS
    Nobody
ccs%|]}|rd|ndVqdS(s

     |      R	N((t.0ts((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pys	<genexpr>nssg
<table width="100%%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="test.html"><font color="#ffffff">test</font></a>.pydoc_mod</strong></big></big> (version 1.2.3.4)</font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:%s">%s</a>%s</font></td></tr></table>
    <p><tt>This&nbsp;is&nbsp;a&nbsp;test&nbsp;module&nbsp;for&nbsp;test_pydoc</tt></p>
<p>
<table width="100%%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%%"><dl>
<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="test.pydoc_mod.html#B">B</a>
</font></dt><dt><font face="helvetica, arial"><a href="test.pydoc_mod.html#C">C</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="test.pydoc_mod.html#A">A</a>
</font></dt></dl>
 <p>
<table width="100%%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="A">class <strong>A</strong></a></font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Hello&nbsp;and&nbsp;goodbye<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%%">Methods defined here:<br>
<dl><dt><a name="A-__init__"><strong>__init__</strong></a>()</dt><dd><tt>Wow,&nbsp;I&nbsp;have&nbsp;no&nbsp;function!</tt></dd></dl>

</td></tr></table> <p>
<table width="100%%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="B">class <strong>B</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%%">Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>%s</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>%s</tt></dd>
</dl>
<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>NO_MEANING</strong> = 'eggs'</dl>

</td></tr></table> <p>
<table width="100%%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="C">class <strong>C</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%%">Methods defined here:<br>
<dl><dt><a name="C-get_answer"><strong>get_answer</strong></a>(self)</dt><dd><tt>Return&nbsp;<a href="#C-say_no">say_no</a>()</tt></dd></dl>

<dl><dt><a name="C-is_it_true"><strong>is_it_true</strong></a>(self)</dt><dd><tt>Return&nbsp;self.<a href="#C-get_answer">get_answer</a>()</tt></dd></dl>

<dl><dt><a name="C-say_no"><strong>say_no</strong></a>(self)</dt></dl>

<hr>
Data descriptors defined here:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table></td></tr></table><p>
<table width="100%%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
    
<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%%"><dl><dt><a name="-doc_func"><strong>doc_func</strong></a>()</dt><dd><tt>This&nbsp;function&nbsp;solves&nbsp;all&nbsp;of&nbsp;the&nbsp;world's&nbsp;problems:<br>
hunger<br>
lack&nbsp;of&nbsp;Python<br>
war</tt></dd></dl>
 <dl><dt><a name="-nodoc_func"><strong>nodoc_func</strong></a>()</dt></dl>
</td></tr></table><p>
<table width="100%%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%%"><strong>__author__</strong> = 'Benjamin Peterson'<br>
<strong>__credits__</strong> = 'Nobody'<br>
<strong>__version__</strong> = '1.2.3.4'</td></tr></table><p>
<table width="100%%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#7799ee">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr>
    
<tr><td bgcolor="#7799ee"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%%">Benjamin&nbsp;Peterson</td></tr></table><p>
<table width="100%%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#7799ee">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Credits</strong></big></font></td></tr>
    
<tr><td bgcolor="#7799ee"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%%">Nobody</td></tr></table>
ccs!|]}|jdd�VqdS(t s&nbsp;N(treplace(R
R((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pys	<genexpr>�ss&no Python documentation found for '%s'sCproblem in %s - <type 'exceptions.ImportError'>: No module named %scOs8||f}tdtj||�\}}}|j�S(sW
    Runs pydoc on the specified module. Returns the stripped
    output of pydoc.
    s-B(Rtpydoct__file__tstrip(tmodule_nametargstenvtrctoutterr((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyt	run_pydoc�s
!cCsWtj�}|j|�}|jt�p-d}|rGd|d}n|j�|fS(s&Returns pydoc generated output as htmlR	s
<br><a href="s">Module Docs</a>(RtHTMLDoct	docmodulet	getdoclocRR(tmoduletdoctoutputtloc((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pytget_pydoc_html�scCsOtjj}||tjjt���}tj�}|j|d|�}|S(s,Returns a documentation web link of a moduletbasedir(tostpathtdirnametrealpathRRtTextDocR(RR#R RR((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pytget_pydoc_links
cCsxtj�}|jt�pd}|r8d|d}n|j|�}tjd�}|jd|�}|j�|fS(s&Returns pydoc generated output as textR	s
MODULE DOCS
    s
s.(	RR%RRRtretcompiletsubR(RRRRtpatt((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pytget_pydoc_text	sc	CsX|jt�}|jt�}tj||dddddd�}ddj|�GHd	S(
s"Prints unified diffs for two textstnitfromfiletexpectedttofiletgots
R	N(t
splitlinestTruetdifflibtunified_difftjoin(ttext1ttext2tlines1tlines2tdiffs((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pytprint_diffss
	t
PydocBaseTestcBs)eZdd�Zejdd��ZRS(cs:|ptjjt�g�ddd��fd�}|S(si
        A version of pkgutil.walk_packages() that will restrict itself to
        a given path.
        R	cs�|p�||�S(N((R"tprefixtonerror(tdefault_patht
walk_packages(s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pytwrapper(sN(R!R"R#RtNone(tselfR@R"RA((R?R@s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyt_restricted_walk_packages"sccs8tj}|j||�t_z	dVWd|t_XdS(N(tpkgutilR@RD(RCR"R@((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pytrestrict_walk_packages,s			N(t__name__t
__module__RBRDt
contextlibtcontextmanagerRF(((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyR< s
tPydocDocTestcBs�eZeejejjdkd�d���Zeejejjdkd�d���Z	d�Z
d�Zd�Zd�Z
d�Zd	�Zd
�Zd�Zejejjdkd�d
��ZRS(is)Docstrings are omitted with -O2 and abovecCs�tt�\}}tjt�}tjdkrNddl}|j|�}n|}t|||ft	}||kr�t
||�|jd�ndS(Ntwin32i����s%outputs are not equal, see diff above(RRtinspectt
getabsfiletsystplatformt
nturl2pathtpathname2urltexpected_html_patterntexpected_html_data_docstringsR;tfail(RCtresulttdoc_loctmod_fileRQtmod_urlt
expected_html((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyt
test_html_doc9s
cCs\tt�\}}ttjt�|ft}||krXt||�|jd�ndS(Ns%outputs are not equal, see diff above(R+Rtexpected_text_patternRMRNtexpected_text_data_docstringsR;RU(RCRVRWt
expected_text((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyt
test_text_docKs
cCs&ttjj�}|jd|�dS(Nsxml.etree.elementtree(R&txmltetreetElementTreetassertIn(RCtdoc_link((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyt,test_mixed_case_module_names_are_lower_casedWscCs,ttj�\}}|j|dd�dS(NR	s'MODULE DOCS incorrectly includes a link(R+R`RatassertEqual(RCRVRW((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyttest_issue8225\scCs1tj}zdt_tj�Wd|t_XdS(N(ROtstdinRBRtgetpager(RCtprevious_stdin((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyttest_getpager_with_stdin_noneas
		cCsjddd��Y}ddd��Y}tj|��}tj|��}|j|jdd�|�dS(NtAcBseZdZRS(i*(RGRH(((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyRllstBcBseZRS((RGRH(((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyRmns(((Rt
render_docRfR
(RCRlRmtadoctbdoc((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyttest_non_str_nameis
cCs3d}t|�}t|}|j||d�dS(Nstest.i_am_not_heres&documentation for missing module found(Rtmissing_patternRf(RCtmissing_moduleRVR.((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyt
test_not_herets

cCs9d}t|�}t|j�}|j||d�dS(Ns test.i_am_not_here sLwhite space was not stripped from module name or other error output mismatch(RRrRRf(RCRsRVR.((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyttest_input_strip{s
cCsetj}|j|d�d�|j|d�d�|j|d�d�|j|d�d�dS(Ns<function stripid at 0x88dcee4>s<function stripid>s <function stripid at 0x01F65390>t42s<type 'exceptions.Exception'>(RtstripidRf(RCRw((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyttest_stripid�s	c
Cs�tjj��p}tjj|d�}t|d��}|jd�WdQXtj	|�t
j|i�}|j|d�WdQXdS(Nsdt.pytws$"""
my doc

second line
"""
foo = 1
smy doc(
ttestttest_supportttemp_cwdR!R"R5topentwritet
py_compileR(RtsynopsisRf(RCttest_dirt	init_pathtfobjR�((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyt
test_synopsis�s

s)Docstrings are omitted with -OO and abovec
Cs�tjj���}tjj|d�}tjj|d�}t|d��}|jd�WdQXtj	|�t
j|i�}|j|�t
j|i�}|j|�WdQXdS(Nsfoomod42.pysfoomod42.pycRysfoo = 1(
RzR{R|R!R"R5R}R~RR(RR�tassertIsNone(RCR�R�tcached_pathR�R�tsynopsis_cached((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyt"test_synopsis_sourceless_empty_doc�s

(RGRHRtunittesttskipIfROtflagstoptimizeR[R_ReRgRkRqRtRuRxR�R�(((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyRK7s 
							
	tPydocImportTestcBs,eZd�Zd�Zd�Zd�ZRS(cCs&tjt�|_|jtt�dS(N(R!tmkdirRR�t
addCleanupR(RC((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pytsetUp�sc	Cs�d}d
dddj|�dj|�fdj|�|ff}tjjt|�tjd	}xt|D]l\}}t|d
��}|jdj|��WdQXt|dt�}t	||f}|j
||�qiWdS(Nt
testmod_xyzzyt
i_am_not_herestest.i_am_not_here_eitherti_am_not_here_eitherstest.i_am_not_here.neither_am_isi_am_not_here.neither_am_isi_am_not_here.{}stest.{}tpyRys
import {}
t
PYTHONPATH(R�R�(stest.i_am_not_here_eitherR�(stest.i_am_not_here.neither_am_isi_am_not_here.neither_am_i(tformatR!R"R5RtextsepR}R~Rtbadimport_patternRf(	RCtmodnamet	testpairstsourcefntimportstringt
expectedinmsgtfRVR.((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyttest_badimport�s cCsGtjjtd�}tj|�tjj|d�tjd}t|d��}|jd�WdQX|jdtg���t	��&}t
��}tjd�WdQXWdQX|j
|j�d�|j
|j�d�t	��&}t
��}tjd�WdQXWdQX|j
|j�j�d�|j
|j�d�WdQXdS(	Nt	syntaxerrt__init__R�Rysinvalid python syntax = $1
R"txyzzyR	(R!R"R5RR�R�R}R~RFRRRtaproposRftgetvalueR(RCtpkgdirt	badsyntaxR�RR((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyttest_apropos_with_bad_package�s 
 cCs�tjjtd�|_tj|jd�|jtj|j�|jdtg��6t	��&}t
��}tjd�WdQXWdQXWdQX|j
|j�d�|j
|j�d�dS(Nt
unreadableiR"tSOMEKEYR	(R!R"R5Rtunreadable_dirR�R�trmdirRFRRRR�RfR�(RCRR((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyt test_apropos_with_unreadable_dir�s(RGRHR�R�R�R�(((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyR��s			tTestDescriptionscBs,eZd�Zd�Zd�Zd�ZRS(cCs3ddlm}tj|�}|jd|�dS(Ni����(tpydocfodderR�(RzR�RRnRc(RCR�R((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyttest_module�scCsuddd��Y}|�}|jtj|�d�|jtj|�d�dt}|j|tj|��dS(NtCcBseZdZRS(s
Classic class(RGRHt__doc__(((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyR��ssclass Cs
instance of Csinstance of C in module %s((RfRtdescribeRGRcRn(RCR�tcR.((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyttest_classic_class�s	
cCsxdtfd��Y}|�}|jtj|�d�|jtj|�d�dt}|j|tj|��dS(NR�cBseZdZRS(sNew-style class(RGRHR�(((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyR�ssclass CsC in module %s object(tobjectRfRR�RGRcRn(RCR�R�R.((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyt
test_classs	
cCsztdddgdt�}t��}tj|�WdQX|j�}|jd|�|jd|�|jd|�dS(NtNTtabctdeftrenamet_1t_replacet_asdict(RR2RRthelpR�Rc(RCR�thelp_iothelptext((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyt!test_namedtuple_public_underscore	s(RGRHR�R�R�R�(((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyR��s				stest requires unicode supporttTestUnicodecBsPeZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	RS(cCs�tjddjd��|_djd�|j_djd�|j_djd�|j_djd�|j_|j|jj	t
�dS(NtQsRational numbers: ℚtutf8sℚ(ttypest
ModuleTypetdecodeR�t__version__t__date__t
__author__t__credits__tassertIsInstanceR�tunicode(RC((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyR�scCs&tj|j�}|j|t�dS(N(RRnR�R�tstr(RCR((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyttest_render_doc$scCs&|jtj|jjd�d�dS(NtasciisRational numbers: &#8474;(RfRt_encodeR�R�(RC((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyttest_encode)scCs�tj|j�}tjt}t_zOtjj��:tj	|d�|j
td�j�tj|��WdQXWd|t_XdS(Ntpipe(
RRnR�R!tpopenR}RzR{R|t	pipepagerRftreadR�(RCRtsaved((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyttest_pipepager-s/cstj�j�}i���fd�}tj|}t_z1tj|d��j�dtj|��Wd|t_XdS(NcsK|j�dd!}�jd|d|j��t|�j��d<dS(Nii����t"tcontent(RRfR}R�(tcmdtfilename(RRC(s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pytmock_system>sR	R�(RRnR�R!tsystemt
tempfilepagerRfR�(RCRR�R�((RRCs6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyttest_tempfilepager9s!c
Cs�tj|j�}tjj��jtdd��8}tj|}t_ztj	|�Wd|t_XWdQX|j
dtd�j��WdQXdS(NRRysRational numbers:(RRnR�RzR{R|R}ROtstdoutt
plainpagerRcR�(RCRR�R�((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyttest_plainpagerIscCs�tj|j�}tjj���tjj��jtdd��8}tj	|}t_	ztj
|�Wd|t_	XWdQX|jdtd�j��WdQXWdQXdS(NRRysRational numbers:(
RRnR�RzR{R|tcaptured_stdinR}ROR�tttypagerRcR�(RCRR�R�((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyt
test_ttypagerYsc
CsRtjj��'t��}tj|j�WdQXWdQX|j|j�d�dS(Ns
wrote Q.html
(	RzR{R|RRtwritedocR�RfR�(RCR((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyt
test_htmlpagefs(
RGRHR�R�R�R�R�R�R�R�(((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyR�s	
						
t
TestHelpercBseZd�Zd�ZRS(cCs)|jttjj�ttj��dS(N(RftsortedRtHelpertkeywordstkeywordtkwlist(RC((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyt
test_keywordsnscCs�x_dD]W}|jtj|��ytj|�Wqtk
r]|jdj|��qXqWx:d
D]2}|jtj|��|jttj|�qiWdS(NR�s
str.translates__builtin__.strs__builtin__.str.translatesfinding the doc of {!r} failedtnot__builtin__tstrrrsstrr.translatesstr.trrrranslates__builtin__.strrrs__builtin__.str.trrranslate(R�s
str.translates__builtin__.strs__builtin__.str.translate(R�R�sstrr.translatesstr.trrrranslates__builtin__.strrrs__builtin__.str.trrranslate(	tassertIsNotNoneRtlocateRntImportErrorRUR�R�tassertRaises(RCtname((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyttest_builtinrs


(RGRHR�R�(((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyR�ms	cCs/z tjjttttt�Wdt�XdS(N(	RzR{trun_unittestRKR�R�R�R�R(((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyt	test_main�st__main__(s.dictionary for instance variables (if defined)s2list of weak references to the object (if defined)(R	R	(8R!ROR3t__builtin__R'RRRIRMR�RER�t	xml.etreeR`R�ttest.test_supportRztxml.etree.ElementTreetcollectionsRttest.script_helperRRRRRRRRR{tHAVE_DOCSTRINGStexpected_data_docstringsRR\ttupleR]RSRTRrR�RRR&R+R;tTestCaseR<RKR�R�t
skipUnlessthave_unicodeR�R�R�RG(((s6/usr/local/python-2.7/lib/python2.7/test/test_pydoc.pyt<module>s^.	N	
t	
	
						xA#	X	

© 2025 GrazzMean