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.223.172.137
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : test_htmllib.pyo
�
?��cc@s�ddlZddlZddlmZejdde�Zdejfd��YZdejfd��YZ	d	ej
fd
��YZd�Ze
dkr�e�ndS(
i����N(ttest_supportthtmllibt
deprecatedtAnchorCollectorcBs#eZd�Zd�Zd�ZRS(cOs#g|_tjj|||�dS(N(t_AnchorCollector__anchorsRt
HTMLParsert__init__(tselftargstkw((s8/usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyR	s	cCs|jS(N(R(R((s8/usr/local/python-2.7/lib/python2.7/test/test_htmllib.pytget_anchor_info
scGs|jj|�dS(N(Rtappend(RR((s8/usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyt
anchor_bgns(t__name__t
__module__RR
R(((s8/usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyRs		t
DeclCollectorcBs#eZd�Zd�Zd�ZRS(cOs#g|_tjj|||�dS(N(t_DeclCollector__declsRRR(RRR	((s8/usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyRs	cCs|jS(N(R(R((s8/usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyt
get_decl_infoscCs|jj|�dS(N(RR(Rtdata((s8/usr/local/python-2.7/lib/python2.7/test/test_htmllib.pytunknown_decls(R
RRRR(((s8/usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyRs		tHTMLParserTestCasecBseZd�Zd�ZRS(cCsRttj�dd�}|jd�|j�|j|j�d	d
dg�dS(Ntverboseis�<a href='http://foo.org/' name='splat'> </a>
            <a href='http://www.python.org/'> </a>
            <a name='frob'> </a>
            shttp://foo.org/tsplattshttp://www.python.org/tfrob(shttp://foo.org/RR(shttp://www.python.org/RR(RRR(Rt	formattert
NullFormattertfeedtclosetassertEqualR
(Rtparser((s8/usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyttest_anchor_collection s
cCsOttj�dd�}|jd�|j�|j|j�ddg�dS(NRis�<html>
            <body>
            hallo
            <![if !supportEmptyParas]>&nbsp;<![endif]>
            </body>
            </html>
            sif !supportEmptyParastendif(RRRRRRR(RR((s8/usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyttest_decl_collection/s
(R
RRR!(((s8/usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyRs	cCstjt�dS(N(Rtrun_unittestR(((s8/usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyt	test_main@st__main__(RtunittestttestRt
import_moduletTrueRRRRtTestCaseRR#R
(((s8/usr/local/python-2.7/lib/python2.7/test/test_htmllib.pyt<module>s!	
© 2025 GrazzMean