config root man

Current Path : /usr/local/lib/python2.5/test/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/test/test_sgmllib.pyo

³ò
h”Rc	@sÏddkZddkZddkZddkZddkZddklZdeifd„ƒYZdefd„ƒYZ	defd„ƒYZ
d	eifd
„ƒYZd„Z
edjoe
ƒndS(
iÿÿÿÿN(ttest_supporttEventCollectorcBskeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„ZRS(cCs,g|_|ii|_tii|ƒdS(N(teventstappendtsgmllibt
SGMLParsert__init__(tself((s-/usr/local/lib/python2.5/test/test_sgmllib.pyRs	cCsŒg}d}xp|iD]e}|d}||jo
djno$d|dd|df|d<n|i|ƒ|}qW||_|S(Nitdataiÿÿÿÿi(tNoneRR(RtLtprevtypeteventttype((s-/usr/local/lib/python2.5/test/test_sgmllib.pyt
get_eventss

$

	cCs|id||fƒdS(Ntstarttag(R(Rttagtattrs((s-/usr/local/lib/python2.5/test/test_sgmllib.pytunknown_starttag!scCs|id|fƒdS(Ntendtag(R(RR((s-/usr/local/lib/python2.5/test/test_sgmllib.pytunknown_endtag$scCs|id|fƒdS(Ntcomment(R(RR((s-/usr/local/lib/python2.5/test/test_sgmllib.pythandle_comment)scCs|id|fƒdS(Ntcharref(R(RR((s-/usr/local/lib/python2.5/test/test_sgmllib.pythandle_charref,scCs|id|fƒdS(NR(R(RR((s-/usr/local/lib/python2.5/test/test_sgmllib.pythandle_data/scCs|id|fƒdS(Ntdecl(R(RR((s-/usr/local/lib/python2.5/test/test_sgmllib.pythandle_decl2scCs|id|fƒdS(Nt	entityref(R(RR((s-/usr/local/lib/python2.5/test/test_sgmllib.pythandle_entityref5scCs|id|fƒdS(Ntpi(R(RR((s-/usr/local/lib/python2.5/test/test_sgmllib.pyt	handle_pi8scCs|id|fƒdS(Nsunknown decl(R(RR((s-/usr/local/lib/python2.5/test/test_sgmllib.pytunknown_decl;s(
t__name__t
__module__RRRRRRRRRRR (((s-/usr/local/lib/python2.5/test/test_sgmllib.pyR	s										tCDATAEventCollectorcBseZd„ZRS(cCs$|idd|fƒ|iƒdS(NRtcdata(Rt
setliteral(RR((s-/usr/local/lib/python2.5/test/test_sgmllib.pytstart_cdata@s(R!R"R&(((s-/usr/local/lib/python2.5/test/test_sgmllib.pyR#?stHTMLEntityCollectorcBsDeZeidƒZd„Zd„Zd„Zd„Zd„Z	RS(s:(?:&([a-zA-Z][-.a-zA-Z0-9]*)|&#(x[0-9a-zA-Z]+|[0-9]+))(;?)cCs?|idd|fƒ|ddjoti||ƒSndS(NRtconvertitx(RRtconvert_charref(Rtname((s-/usr/local/lib/python2.5/test/test_sgmllib.pyR*JscCs*|idd|fƒti||ƒdS(Nt	codepointR((RRtconvert_codepoint(RR,((s-/usr/local/lib/python2.5/test/test_sgmllib.pyR-OscCs&|idd|fƒti||ƒS(NRR((RRtconvert_entityref(RR+((s-/usr/local/lib/python2.5/test/test_sgmllib.pyR.SscCs*|id|fƒtii||ƒdS(NR(RRRR(RR((s-/usr/local/lib/python2.5/test/test_sgmllib.pyR[scCs*|id|fƒtii||ƒdS(NR(RRRR(RR((s-/usr/local/lib/python2.5/test/test_sgmllib.pyR_s(
R!R"tretcompiletentity_or_charrefR*R-R.RR(((s-/usr/local/lib/python2.5/test/test_sgmllib.pyR'Es				tSGMLParserTestCasecBseZeZd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d„Zd„Zd	„Z
d
„Zd„Zd„Zd
„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z RS(cCsO|iƒ}y,x|D]}|i|ƒqW|iƒWn
‚nX|iƒS(N(t	collectortfeedtcloseR(Rtsourcetparserts((s-/usr/local/lib/python2.5/test/test_sgmllib.pyRhscCsly|i|ƒ}Wnddk}‚nX||jo/|idti|ƒdti|ƒƒndS(Niÿÿÿÿs8received events did not match expected events
Expected:
s
Received:
(Rtsystfailtpprinttpformat(RR6texpected_eventsRR9((s-/usr/local/lib/python2.5/test/test_sgmllib.pytcheck_eventsss
cCsgtƒ}y|i|ƒ|iƒWntij
on(X|id|ti|iƒƒfƒdS(Ns+expected SGMLParseError for %r
Received:
%s(	RR4R5RtSGMLParseErrorR:R;R<R(RR6R7((s-/usr/local/lib/python2.5/test/test_sgmllib.pytcheck_parse_errors	
	cCs*d}|id|gd|fgƒdS(NsòDOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01//EN'
             SYSTEM 'http://www.w3.org/TR/html401/strict.dtd' [
  <!ELEMENT html - O EMPTY>
  <!ATTLIST html
      version CDATA #IMPLIED
      profile CDATA 'DublinCore'>
  <!NOTATION datatype SYSTEM 'http://xml.python.org/notations/python-module'>
  <!ENTITY myEntity 'internal parsed entity'>
  <!ENTITY anEntity SYSTEM 'http://xml.python.org/entities/something.xml'>
  <!ENTITY % paramEntity 'name|name|name'>
  %paramEntity;
  <!-- comment -->
]s<!%s>R(R>(Rtinside((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_doctype_decl_internalŠscCs'd}|id|d|fgƒdS(Ns/DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01//EN's<!%s>R(R>(RRA((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_doctype_decl_externals
cCs&|idddddgfgƒdS(	s7Make sure attribute names with underscores are accepteds<a has_under _under>Rtat	has_undert_underN(RERE(RFRF(R>(R((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_underscore_in_attrname£s		cCs#|idddgfdgƒdS(s1Make sure tag names with underscores are accepteds<has_under></has_under>RRERN(sendtags	has_under(R>(R((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_underscore_in_tagname«s	cCs#|iddddgfgƒdS(s@Be sure quotes in unquoted attributes are made part of the values<a href=foo'bar"baz>RRDthrefsfoo'bar"bazN(RIsfoo'bar"baz(R>(R((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_quotes_in_unquoted_attrs³s	cCs2|idddgfd	ddgfd
gƒdS(s(Handling of XHTML-style empty start tagss<br />text<i></i>RtbrRttexttiRN(sdatastext(sendtagRM(R>(R((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_xhtml_empty_tagºs
	cCs|iddgƒdS(Ns<?processing instruction>Rsprocessing instruction(spisprocessing instruction(R>(R((s-/usr/local/lib/python2.5/test/test_sgmllib.pyt test_processing_instruction_onlyÃs	cCs2|idddgfddgfddgƒdS(Ns<a><b></a></b>RRDtbR(sendtagRD(sendtagRP(R>(R((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_bad_nestingÈs
	cCs|iddgƒdS(Ns#this text & contains & ampersands &R(sdatas#this text & contains & ampersands &(R>(R((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_bare_ampersandsÐs	cCs|iddgƒdS(Ns.this < text > contains < bare>pointy< bracketsR(sdatas.this < text > contains < bare>pointy< brackets(R>(R((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_bare_pointy_bracketsÕs	cCsbdddd
ddgfg}|id|ƒ|id	|ƒ|id
|ƒ|id|ƒdS(NRRDRPtvtctdtes<a b='v' c="v" d=v e>s<a  b = 'v' c = "v" d = v e>s<a
b
=
'v'
c
=
"v"
d
=
v
e>s<a	b	=	'v'	c	=	"v"	d	=	v	e>(RPRT(RURT(RVRT(RWRW(R>(Rtoutput((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_attr_syntaxÚs
cCs¸|iddddddgfgƒ|id
ddddgfgƒd}d
}d}d|||f}|id|ddd|fgfgƒ|iddddgfgƒdS(Ns'<a b='xxx
	xxx' c="yyy	
yyy" d='	xyz
'>RRDRPsxxx
	xxxRUsyyy	
yyyRVs	xyz
s
<a b='' c="">ts$-_.+s!*'(),s;/?:@&=s+http://example.com:8080/path/to/file?%s%s%ss<e a=%s>RWs<e a=rgb(1,2,3)>s
rgb(1,2,3)(RPsxxx
	xxx(RUsyyy	
yyy(RVs	xyz
(RPRZ(RURZ(RDs
rgb(1,2,3)(R>(Rtsafetextratreservedturl((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_attr_valuesãs			
	cCs>|idddddddddddd d!g
fgƒdS("s9Substitution of entities and charrefs in attribute valuessÙ<a b=&lt; c=&lt;&gt; d=&lt-&gt; e='&lt; '
                                f="&xxx;" g='&#32;&#33;' h='&#500;'
                                i='x?a=b&c=d;'
                                j='&amp;#42;' k='&#38;#42;'>RRDRPt<RUs<>RVs&lt->RWs< tfs&xxx;tgs !ths&#500;RMs
x?a=b&c=d;tjs&#42;tkN(RPR`(RUs<>(RVs&lt->(RWs< (Ras&xxx;(Rbs !(Rcs&#500;(RMs
x?a=b&c=d;(Rds&#42;(Res&#42;(R>(R((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_attr_values_entitiesús	cCsGt|_|iddddddgfdddddddg
ƒdS(Ns3<a title="&ldquo;test&#x201d;">foo</a>&foobar;&#42;RR(tldquoRtx201dRRDttitles&ldquo;test&#x201d;RtfooRtfoobart42R,i*(s	entityrefsconvertRg(scharrefsconvertRh(stitles&ldquo;test&#x201d;(sdataRj(sendtagRD(s	entityrefRk(s	entityrefsconvertRk(scharrefRl(scharrefsconvertRl(s	codepointsconverti*(R'R3R>(R((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_convert_overrides
s		cCs)|iddddd	d
gfgƒdS(Ns<a a.b='v' c:d=v e-f=v>RRDsa.bRTsc:dse-f(sa.bRT(sc:dRT(se-fRT(R>(R((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_attr_funky_names!s	cCs2|iddddgfdddgfgƒdS(NsR<a href='http://[1080::8:800:200C:417A]/'><a href=http://[1080::8:800:200C:417A]/>RRDRIshttp://[1080::8:800:200C:417A]/(shrefshttp://[1080::8:800:200C:417A]/(shrefshttp://[1080::8:800:200C:417A]/(R>(R((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_attr_value_ip6_url&s	cCs#d}|i|ddd	gƒdS(
Ns(abc<!spacer type="block" height="25">defRtabcsunknown declsspacer type="block" height="25"tdef(sdataRp(sunknown declsspacer type="block" height="25"(sdataRq(R>(RR8((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_illegal_declarations.s
	cCsK|idddgfddgfgƒ|iddddgfgƒdS(Ns<a<a>RRDs</a<a>R(sendtagRD(R>(R((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_weird_starttags6s		cCs|idƒdS(Ns<!DOCTYPE foo $ >(R@(R((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_declaration_junk_chars@scCs,d}|i|dddd	gfgƒdS(
Ns<foobar   
   one="1"	two=2   >RRktonet1ttwot2(RuRv(RwRx(R>(RR8((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_get_starttag_textCs	cCsud}t|_|i|ddgfd
dddgfddddgƒd}|i|ddgfddgƒdS(Nsb<cdata> <!-- not a comment --> &not-an-entity-ref; </cdata><notcdata> <!-- comment --> </notcdata>RR$Rs, <!-- not a comment --> &not-an-entity-ref; Rtnotcdatat Rs	 comment s$<cdata> <not a='start tag'> </cdata>s <not a='start tag'> (sdatas, <!-- not a comment --> &not-an-entity-ref; (sendtagscdata(sdataR{(scomments	 comment (sdataR{(sendtagRz(sdatas <not a='start tag'> (sendtagscdata(R#R3R>(RR8((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_cdata_contentIs 		
	cCs#d}|i|ddd	gƒdS(
Ns(abc<!spacer type="block" height="25">defRRpsunknown declsspacer type="block" height="25"Rq(sdatasabc(sunknown declsspacer type="block" height="25"(sdatasdef(R>(RR8((s-/usr/local/lib/python2.5/test/test_sgmllib.pyRr^s
	cCsd}|i|dgƒdS(Ns-<!DOCTYPE doc [<!ATTLIST doc attr (a | b) >]>Rs*DOCTYPE doc [<!ATTLIST doc attr (a | b) >](sdecls*DOCTYPE doc [<!ATTLIST doc attr (a | b) >](R>(RR8((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_enumerated_attr_typefs	cCsed}ttidƒƒ}tiƒ}x7|i|ƒ}|i|ƒt|ƒ|joPq*q*dS(Nissgml_input.html(topenRtfindfileRRtreadR4tlen(RtCHUNKRatfpR((s-/usr/local/lib/python2.5/test/test_sgmllib.pyttest_read_chunksls
cCsB|iddddgfgƒ|idddd	gfgƒdS(
Ns	<a b='<'>RRDRPR`s	<a b='>'>t>(RPR`(RPR…(R>(R((s-/usr/local/lib/python2.5/test/test_sgmllib.pyt_test_starttag_end_boundary~scCs+ddd*gfg}|idg|ƒ|iddg|ƒ|idd	g|ƒ|id
dg|ƒ|idd
g|ƒ|iddg|ƒddd+gfg}|idg|ƒ|iddg|ƒ|iddg|ƒ|id
dg|ƒ|idd
g|ƒ|iddg|ƒd,g}|iddg|ƒ|iddg|ƒ|iddg|ƒ|iddg|ƒ|idd g|ƒ|id!d"g|ƒ|id#d$g|ƒ|id%d&g|ƒ|id'd(g|ƒ|id)dg|ƒ|iddg|ƒdS(-NRRDRPR`s	<a b='<'>s<a sb='<'>s<a bs='<'>s<a b=s'<'>s<a b='<s'>s<a b='<'R…s	<a b='>'>sb='>'>s='>'>s'>'>s<a b='>s<a b='>'RRpRZs
<!--abc-->s	!--abc-->s<!s--abc-->s<!-s-abc-->s<!--sabc-->s<!--asbc-->s<!--absc-->s<!--abcs-->s<!--abc-s->s	<!--abc--(RPR`(RPR…(scommentsabc(R>(RRX((s-/usr/local/lib/python2.5/test/test_sgmllib.pyt_test_buffer_artefacts‚s4	cCsÇ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|idƒ|id	ƒ|id
ƒ|idƒ|idƒ|id
ƒ|idƒ|idƒdS(NR`s<>s</$>s</s</as<$s<$>s<!s<a $>s<as<a foo='bar's<a foo='bars
<a foo='>'s	<a foo='>s<a foo=>(R@(R((s-/usr/local/lib/python2.5/test/test_sgmllib.pyt_test_starttag_junk_chars s













(!R!R"RR3RR>R@RBRCRGRHRJRNRORQRRRSRYR_RfRmRnRoRrRsRtRyR|R}R„R†R‡Rˆ(((s-/usr/local/lib/python2.5/test/test_sgmllib.pyR2ds>																							
								cCstitƒdS(N(Rtrun_unittestR2(((s-/usr/local/lib/python2.5/test/test_sgmllib.pyt	test_main²st__main__(thtmlentitydefsR;R/RtunittestttestRRRR#R'tTestCaseR2RŠR!(((s-/usr/local/lib/python2.5/test/test_sgmllib.pys<module>s6ÿO	


Man Man